CubeCart Input Validation Holes Permit Cross-Site Scripting and SQL Injection Attacks
|
|
SecurityTracker Alert ID: 1016708
|
|
SecurityTracker URL: http://securitytracker.com/id?1016708
|
|
CVE Reference: CVE-2006-4267
, CVE-2006-4268
(Links to External Site)
|
Updated: Jun 5 2008
|
Original Entry Date: Aug 17 2006
|
Impact: Disclosure of authentication information, Disclosure of system information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information, User access via network
|
Exploit Included: Yes
|
Version(s): 3.0.11 and prior versions
|
Description: rgod reported a vulnerability in CubeCart. A remote user can conduct cross-site scripting attacks. A remote user can inject SQL commands.
The 'preview.php' and 'login.php' scripts do not properly filter HTML code from user-supplied input before displaying the input.
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 CubeCart (formerly eStore) 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.
Some demonstration exploit URLs are provided:
http://[target]/[path_to_cubecart]/admin/filemanager/prev
iew.php?file="><script>alert(document.cookie)</script>
http://[target]/[path_to_cubecart]/admin/filemanager/preview.php?file=1&x="><script>alert(document.cookie)</script
>
http://[target]/[path_to_cubecart]/admin/filemanager/preview.php?file=1&y="><script>alert(document.cookie)</script>
http://[target]/[path_to_cubecart]/admin/login.php
?email="><script>alert(document.cookie)</script>
The 'modules/gateway/Protx/confirmed.php' script does not properly validate
user-supplied input. A remote user can supply a specially crafted parameter value to execute SQL commands on the underlying database.
Other modules in the 'modules/gateway/' folder may also be affected.
The original advisory is available at:
http://retrogod.altervista.org/cubecart_3011_adv.html
A demonstration exploit is available at:
http://retrogod.altervista.org/cubecart_3011_sql_mqg_bypass.html
|
Impact: A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the
CubeCart (formerly eStore) 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.
A remote user can execute SQL commands on the underlying database.
|
Solution: No solution was available at the time of this entry.
|
Vendor URL: www.cubecart.com/site/home/ (Links to External Site)
|
Cause: Input validation error
|
Underlying OS: Linux (Any), UNIX (Any), Windows (Any)
|
Reported By: "rgod" <zerokool_556@hotmail.com>
|
Message History:
None.
|
Source Message Contents
|
Date: Thu, 17 Aug 2006 09:48:05 +0200
From: "rgod" <zerokool_556@hotmail.com>
Subject: CubeCart <= 3.0.11 multiple vulnerabilities
|
http://retrogod.altervista.org/cubecart_3011_adv.html
http://retrogod.altervista.org/cubecart_3011_sql_mqg_bypass.html
rgod
|
|