TITLE:
CubeCart Cross-Site Scripting Vulnerabilities
SECUNIA ADVISORY ID:
SA18519
VERIFY ADVISORY:
http://secunia.com/advisories/18519/
CRITICAL:
Less critical
IMPACT:
Cross Site Scripting
WHERE:
>From remote
SOFTWARE:
CubeCart 2.x
http://secunia.com/product/4021/
CubeCart 3.x
http://secunia.com/product/6838/
DESCRIPTION:
Lostmon has discovered some vulnerabilities in CubeCart, which can be
exploited by malicious people to conduct cross-site scripting
attacks.
Some input isn't properly sanitised before being returned to the
user. This can be exploited to execute arbitrary HTML and script code
in a user's browser session in context of an affected site.
Examples:
http://[host]/index.php?act=viewProd&productId=1">[code]
http://[host]/index.php?act=viewDoc&docId=3">[code]
http://[host]/index.php?act=viewProd">[code]
http://[host]/index.php?act=viewCat&catId=1">[code]
http://[host]/index.php?act=viewCat&catId=saleItems">[code]
http://[host]/index.php?searchStr=[code]&act=viewCat
http://[host]/cart.php?act=reg&redir=[code]
"username" parameter passed to "index.php?act=login"
The vulnerabilities have been confirmed in version 3.0.7-pl1. Other
versions may also be affected.
SOLUTION:
Edit the source code to ensure that input is properly sanitised.
PROVIDED AND/OR DISCOVERED BY:
Lostmon
ORIGINAL ADVISORY:
http://lostmon.blogspot.com/2006/01/cubecart-307-pl1-indexphp-multiple.html
About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.
Subscribe:
http://secunia.com/secunia_security_advisories/
Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/
Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.