[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.