Remote Cart Input Validation Bugs Permit Cross-Site Scripting Attacks

SecurityTracker Alert ID: 1013903
SecurityTracker URL: http://securitytracker.com/id?1013903
CVE Reference: GENERIC-MAP-NOMATCH (Links to External Site)
Date: May 6 2005

Impact: Disclosure of authentication information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information

Exploit Included: Yes

Description: ComSec from governmentsecurity.org reported a vulnerability in Remote Cart. A remote user can conduct cross-site scripting attacks.

The 'shop.cgi' script does not properly validate user-supplied input in the 'merchant' parameter. A remote user can create a specially crafted URL that, when loaded by a target user, will cause arbitrary scripting code to be executed by the target user's browser. The code will originate from the site running the Remote Cart software and will run in the security context of that site. As a result, the code will be able to access the target user's cookies (including authentication cookies), if any, associated with the site, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.

A demonstration exploit example is provided:

http://[target]/cart/shop.cgi?merchant=%3cscript%3ealert(document.cookie)%3c/script%3e

The 'demo' parameter is also affeted.

The vendor has been notified.

Impact: A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the Remote Cart software, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.

Solution: No solution was available at the time of this entry.

Vendor URL: www.remotecart.com/ (Links to External Site)

Cause: Input validation error

Underlying OS: Linux (Any), UNIX (Any), Windows (Any)

Reported By: "ComSec" <deadlink@elitemail.org>

Message History: None.