Noah's Classifieds index.php Multiple Variable XSS

2006-02-25T09:37:12
ID OSVDB:23563
Type osvdb
Reporter OSVDB
Modified 2006-02-25T09:37:12

Description

Vulnerability Description

Noah's Classifieds contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate the 'inf', 'upperTemplate', 'list' or 'method' variables upon submission to the index.php script. This could allow a user to create a specially crafted URL that would execute arbitrary code in a user's browser within the trust relationship between the browser and the server, leading to a loss of integrity.

Technical Description

This vulnerability is only present when the register_globals PHP option is set to 'on'. This has not been the default setting for PHP installs since version 4.2.0 (22-Apr-2002).

Short Description

Noah's Classifieds contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate the 'inf', 'upperTemplate', 'list' or 'method' variables upon submission to the index.php script. This could allow a user to create a specially crafted URL that would execute arbitrary code in a user's browser within the trust relationship between the browser and the server, leading to a loss of integrity.

Manual Testing Notes

http://[target]/classifieds/index.php?inf=%3Cscript%3Ealert(document.cookie)%3C/script%3E http://[target]/classifieds/index.php?upperTemplate=%3Cscript%3Ealert(document.cookie)%3C/script%3E http://[target]/classifieds/index.php?method=showhtmllist&list=<IMG SRC=javascript:alert("0o_zeus_o0, 'XSS'")> http://[target]/classifieds/index.php?method=<IMG SRC=javascript:alert("0o_zeus_o0, 'XSS'")>

References:

Vendor URL: http://classifieds.phpoutsourcing.com/ Security Tracker: 1015667 Related OSVDB ID: 23561 Related OSVDB ID: 23564 Related OSVDB ID: 23565 Related OSVDB ID: 23562 Other Advisory URL: http://www.kapda.ir/advisory-268.html Mail List Post: http://archives.neohapsis.com/archives/bugtraq/2006-02/0405.html Mail List Post: http://archives.neohapsis.com/archives/bugtraq/2006-02/0557.html Mail List Post: http://archives.neohapsis.com/archives/fulldisclosure/2006-02/0924.html Mail List Post: http://archives.neohapsis.com/archives/bugtraq/2006-03/0361.html Keyword: KAPDA::#29 FrSIRT Advisory: ADV-2006-0703 CVE-2006-0880 Bugtraq ID: 16772