XSS in CompactCMS



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



Relevant Pages

  • Jupiter CMS 1.1.5 Multiple Vulnerabilities
    ... against SQL Injection attacks) in several SQL request. ... is that the script do not check for file extensions when a user upload ... Risk level: Medium ... simple poc illustrate how an attacker can exploit this vulnerability: ...
    (Bugtraq)
  • Re: Vulnebrability level definition
    ... vulnerability can get varying risk levels across different ... If you're referring to the weekly "SANS Critical Vulnerability ... exploitation in widespread software with root/admin level privileges. ... I've tried tackling the risk level problem. ...
    (Security-Basics)
  • Re: Vulnebrability level definition
    ... vulnerability can get varying risk levels across different ... If you're referring to the weekly "SANS Critical Vulnerability ... I've tried tackling the risk level problem. ... This list is provided by the SecurityFocus Security Intelligence Alert ...
    (Pen-Test)
  • HTB22811: XSS vulnerability in UMI.CMS
    ... Vulnerability Type: Stored XSS (Cross Site Scripting) ... Risk level: Low ... Vulnerability Details: ...
    (Bugtraq)
  • HTB22932: Multiple XSS in webSPELL
    ... Vulnerability Type: XSS (Cross Site Scripting) ... Vulnerability Details: ... The following PoC is available: ...
    (Bugtraq)