PHP-Nuke phProfession Module jcode Variable XSS

2004-04-21T00:00:00
ID OSVDB:5624
Type osvdb
Reporter Janek Vind "waraxe"(come2waraxe@yahoo.com)
Modified 2004-04-21T00:00:00

Description

Vulnerability Description

phProfession contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate the "jcode" variable upon submission to the "modules.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.

Solution Description

Currently, there are no known upgrades, patches, or workarounds available to correct this issue.

Short Description

phProfession contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate the "jcode" variable upon submission to the "modules.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://[victim]/modules.php?op=modload&name=phprofession&file=upload&jcode=[XSS Code]

References:

Vendor URL: https://sourceforge.net/projects/profession/ Vendor URL: http://www.phpsolutions.co.uk/ Secunia Advisory ID:11465 Related OSVDB ID: 5625 Related OSVDB ID: 5623 Other Advisory URL: http://www.waraxe.us/index.php?modname=sa&id=21 Mail List Post: http://archives.neohapsis.com/archives/fulldisclosure/2004-03/2337.html ISS X-Force ID: 15931 Bugtraq ID: 10190