Stay in touch with us: Facebook | Twitter | LinkedIn | Newsletter
ImmuniWeb® by High-Tech Bridge


High-Tech Bridge Newsletter

Subscribe to our newsletter and receive some or all of our corporate news, invitations to security events or HTB Security Advisories – you choose what you want to receive.

Multiple XSS in Fork CMS

Advisory ID:HTB23075
Product:Fork CMS
Vendor:Fork CMS
Vulnerable Versions:3.2.5 and probably prior
Tested Version:3.2.5
Advisory Publication:February 15, 2012 [without technical details]
Vendor Notification:February 15, 2012
Vendor Fix:February 28, 2012
Public Disclosure:March 7, 2012
Latest Update:February 28, 2012
Vulnerability Type:Cross-Site Scripting [CWE-79]
CVE Reference:CVE-2012-1188
Risk Level:Medium
CVSSv2 Base Score:4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
Solution Status:Fixed by Vendor
Discovered and Provided:High-Tech Bridge Security Research Lab
 

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/s cript%3E
http://[host]/private/en/error?type=action-not-allowed&querystring=%3Cscript%3Ea lert%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.co okie%29;%3C/script%3E


ImmuniWeb® On-Demand Web Application Penetration Test


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.com/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.
[4] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.
Previous Security Advisories with CWE-79: HTB23074: Multiple XSS in Dotclear HTB23073: Multiple XSS in Chyrp
User Comments and Opinions


Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.