HTB22822: XSS vulnerability in RunCMS



Vulnerability ID: HTB22822
Reference: http://www.htbridge.ch/advisory/xss_vulnerability_in_runcms.html
Product: RunCMS
Vendor: http://www.runcms.org/ ( http://www.runcms.org/ )
Vulnerable Version: 2.2.2
Vendor Notification: 27 January 2011
Vulnerability Type: XSS (Cross Site Scripting)
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 "/user.php" script to properly sanitize user-supplied input in "rc2_user" variable from cookies.
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:


GET /user.php HTTP/1.1
Cookie: rc2_user='><script>alert("XSS")%3b</script>



Relevant Pages

  • RE: mapping vulnerabilities into high medium low risk
    ... This is the best approach in my opinion; Let the client decide what is ... high, medium or low for him, because, now matter how much we know about ... clients will always know their business better. ... HIGH - If the vulnerability could affect the whole organization (main ...
    (Pen-Test)
  • HTB22862: Path disclosure in NextGEN Gallery wordpress plugin
    ... Vulnerability ID: HTB22862 ... Vulnerability Type: Path disclosure ... Risk level: Low ... Vulnerability Details: ...
    (Bugtraq)
  • HTB22920: Path disclosure in Viscacha
    ... Vulnerability ID: HTB22920 ... Risk level: Low ... Vulnerability Details: ... The vulnerability exists due to failure in the "editprofile.php" script, it's possible to generate an error that will reveal the full path of the script. ...
    (Bugtraq)
  • HTB22942: Path disclousure in Dalbum
    ... Vulnerability ID: HTB22942 ... Risk level: Low ... Vulnerability Details: ... The vulnerability exists due to failure in the "showimg.php" script, it's possible to generate an error that will reveal the full path of the script. ...
    (Bugtraq)
  • HTB22954: Path disclousure in yappa-ng Photo Gallery
    ... Vulnerability ID: HTB22954 ... Vulnerability Type: Path disclousure ... Risk level: Low ... Vulnerability Details: ...
    (Bugtraq)