cpCommerce Input Validation Flaw in '_functions.php' Lets Remote Users Overwrite Variables to Inject SQL Commands
|
|
SecurityTracker Alert ID: 1021293 |
|
SecurityTracker URL: http://securitytracker.com/id/1021293
|
|
CVE Reference:
GENERIC-MAP-NOMATCH
(Links to External Site)
|
Date: Dec 1 2008
|
Impact:
Disclosure of system information, Disclosure of user information, Execution of arbitrary code via network, User access via network
|
Fix Available: Yes Vendor Confirmed: Yes Exploit Included: Yes
|
Version(s): prior to 1.2.7
|
Description:
A vulnerability was reported in cpCommerce. A remote user can overwrite arbitrary variables and inject SQL commands.
The '_functions.php' script does not properly process user-supplied input. A remote user can supply a specially crafted parameter value to overwrite arbitrary variables.
This can be exploited to bypass the SanitazeInput() function to execute SQL commands on the underlying database, bypass authentication, and execute arbitrary operating system commands on the target system.
A demonstration exploit URL is provided:
http://[target]/[path]/index.php/email/%27%20OR%20id_account=1%23/?action=login&submit=Login&returnurl=index.php
The original advisory is available at:
http://milw0rm.com/exploits/7308
girex reported this vulnerability.
|
Impact:
A remote user can execute SQL commands on the underlying database and execute arbitrary operating system commands on the target system.
|
Solution:
The vendor has issued a fixed version (1.2.7), available at:
http://cpcommerce.cpradio.org/downloads.php
|
Vendor URL: cpcommerce.cpradio.org/ (Links to External Site)
|
Cause:
Input validation error
|
Underlying OS:
Linux (Any), UNIX (Any), Windows (Any)
|
|
Message History:
None.
|
Source Message Contents
|
Date: Mon, 1 Dec 2008 09:44:42 -0500
Subject: cpCommerce
|
http://milw0rm.com/exploits/7308
|
|