Multiple XSS in Fork CMS



Advisory ID: HTB23075
Product: Fork CMS
Vendor: Fork CMS
Vulnerable Version(s): 3.2.5 and probably prior
Tested Version: 3.2.5
Vendor Notification: 15 February 2012
Vendor Patch: 28 February 2012
Public Disclosure: 7 March 2012
Vulnerability Type: Cross Site Scripting (XSS)
CVE Reference(s): CVE-2012-1188
Solution Status: Fixed by Vendor
Risk Level: Medium
Credit: High-Tech Bridge SA Security Research Lab ( https://www.htbridge.ch/advisory/ )

-----------------------------------------------------------------------------------------------

Advisory Details:

High-Tech Bridge SA Security Research Lab has discovered multiple vulnerabilities in Fork CMS, which can be exploited to perform Cross-Site Scripting (XSS) attacks.

1) Cross-Site Scripting (XSS) in Fork CMS: CVE-2012-1188

1.1 Input passed via the "type" and "querystring" GET parameters to /private/en/error is not properly sanitised before being returned to the user.
This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of affected website.

The following PoC (Proof of Concept) demostrate the vulnerability:

http://[host]/private/en/error?type=%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E
http://[host]/private/en/error?type=action-not-allowed&querystring=%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E.1

1.2 Input passed via the "name" GET parameter to /private/en/locale/index is not properly sanitised before being returned to the user.
This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of affected website.

The following PoC (Proof of Concept) demostrates the vulnerability:

http://[host]/private/en/locale/index?name=%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E

-----------------------------------------------------------------------------------------------

Solution:

Upgrade to Fork CMS 3.2.7 or later.

More information:
http://www.fork-cms.com/blog/detail/fork-cms-3-2-7-released

-----------------------------------------------------------------------------------------------

References:

[1] High-Tech Bridge Advisory HTB23075 - https://www.htbridge.ch/advisory/HTB23075 - Multiple XSS in Fork CMS.
[2] Fork CMS - http://www.fork-cms.com/ - Fork is an open source cms that will rock your world.
[3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - international in scope and free for public use, CVE® is a dictionary of publicly known information security vulnerabilities and exposures.

-----------------------------------------------------------------------------------------------

Disclaimer: The information provided in this Advisory is provided "as is" and without any warranty of any kind. Details of this Advisory may be updated in order to provide as accurate information as possible. The latest version of the Advisory is available on web page [1] in the References.



Relevant Pages

  • Multiple XSS vulnerabilities in XOOPS
    ... Vendor Notification: 7 December 2011 ... Vulnerability Type: XSS ... This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of affected website. ... The following PoC code is available: ...
    (Bugtraq)
  • Multiple vulnerabilities in OrangeHRM
    ... Vendor: OrangeHRM Inc. ... High-Tech Bridge SA Security Research Lab has discovered multiple vulnerabilities in OrangeHRM, which can be exploited to perform SQL Injection and Cross-Site Scripting attacks. ... Successful exploitation of this vulnerability requires attacker to be registered and logged-in. ... This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of affected website. ...
    (Bugtraq)
  • Multiple XSS in Dotclear
    ... Vendor Notification: 8 February 2012 ... High-Tech Bridge SA Security Research Lab has discovered multiple vulnerabilities in Dotclear, which can be exploited to perform Cross-Site Scripting attacks. ... The following PoC demonstrates the vulnerability: ... This can be exploited to execute arbitrary HTML and script code in administrator's browser session in context of affected website. ...
    (Bugtraq)
  • Multiple vulnerabilities in Piwigo
    ... Vendor Notification: 4 April 2012 ... Vulnerability Type: Directory Path Traversal, ... High-Tech Bridge SA Security Research Lab has discovered multiple vulnerabilities in Piwigo, which can be exploited to perform Cross-Site Scripting and Path Traversal attacks. ... This can be exploited to execute arbitrary HTML and script code in administrator's browser session in context of affected website. ...
    (Bugtraq)
  • [Full-disclosure] Survey: "MIME/Content-Type-Sniffing" Issues in Image Uploads in Forum
    ... opening XSS vulnerabilities in software that allows uploads. ... IN a survey, we found myBB, fluxBB, phorum, SMF and WBB to be vulnerable to ... Vendor Reaction ... leading to a cross-site-scripting vulnerability. ...
    (Full-Disclosure)