9161 : PHP-Nuke PhotoADay Module pad_selected Parameter XSS
Printer | http://osvdb.org/9161 | Email This | Edit Vulnerability

Views This Week

4

Views All Time

79

Info

Last Modified

about 1 month ago

Percent Complete

100%

Disclosure

Aug 21, 2004

Discovery

Unknown

Dates

Exploit

Aug 21, 2004

Solution

Unknown

Keywords

PHP-Nuke module

Description

The 'PhotoADay' module for PHP-Nuke contains an input validation flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate the pad_selected variable submitted to the PhotoADay 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.

Classification

Location: Remote/Network Access Required
Attack Type: Information Disclosure, Input Manipulation
Impact: Loss of Confidentiality, Loss of Integrity
Exploit: Exploit Available
Disclosure: OSVDB Verified
OSVDB: Web Related

Solution

Currently, there are no known upgrades or patches to correct this issue. The vendor has been contacted. It is possible to correct the flaw by implementing the following workaround(s):

Modify the code:
unset($matches);
unset($loc);
if (preg_match("/([OdWo5NIbpuU4V2iJT0n]) /",
rawurldecode($loc=$_SERVER["QUERY_STRING"]), $matches)) {
die("YOU ARE SLAPPED BY <a href=\"http://nukecops.com\">NUKECOPS</a> BY
USING '$matches[1]' INSIDE '$loc'.");
}

to use strip_tags() like this:

unset($matches);
unset($loc);
if (preg_match("/([OdWo5NIbpuU4V2iJT0n]) /",
rawurldecode($loc=strip_tags($_SERVER["QUERY_STRING"])), $matches)) {
die("YOU ARE SLAPPED BY <a href=\"http://nukecops.com\">NUKECOPS</a> BY
USING '$matches[1]' INSIDE '$loc'.");
}

Alternativley disable use of the PhotoADay module.

Products

PhotoADay
Watch-list
PhotoADay
Watch-list
Unknown or Unspecified

References

Tools & Filters

Nessus

14357

Manual Testing Notes

Credit

  • King Of Love - leaveskyBrand New Doo Doohotmail.com - Q8Crackers Crew

Blogs

None found at this time

Comments

No Comments.

DONATE NOW!

User Status

Quick Searches

Advertisements

The database information may change without any notice. Use of the information constitutes acceptance for use in an AS IS condition, and there are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the copyright holder or distributor (OSVDB or OSF) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

© Copyright 2008 Open Source Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use