CubeCart index.php Multiple Variable XSS

2005-09-28T02:19:02
ID OSVDB:19860
Type osvdb
Reporter Lostmon Lords(Lostmon@gmail.com)
Modified 2005-09-28T02:19:02

Description

Vulnerability Description

CubeCart contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate the 'searchStr' and 'redir' 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.

Solution Description

Upgrade to version 3.0.4 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

Short Description

CubeCart contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate the 'searchStr' and 'redir' 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]/cc3/index.php?searchStr=%3D%22%3E%3Cscript%3Ealert%28document.cookie%29%3C%2Fscript%3E&act=viewCat&Submit=Go http://[target]/cc3/index.php?act=login&redir=L3NpdGUvZGVtby9jYzMvaW5kZXgucGhwP2FjdD12aWV3RG9jJmFtcDtkb2NJZD0x[XSS-CODE]

References:

Vendor URL: http://www.cubecart.com/ Vendor Specific News/Changelog Entry: http://bugs.cubecart.com/?do=details&id=363 Security Tracker: 1014984 Related OSVDB ID: 19861 Other Advisory URL: http://lostmon.blogspot.com/2005/09/cubecart-303-multiple-variable-cross.html CVE-2005-3152 Bugtraq ID: 14962