Advisory ID: HTB23205
Product: CMSimple
Vendor: Preben Bjorn Biermann Madsen
Vulnerable Version(s): 3.54 and probably prior
Tested Version: 3.54
Advisory Publication: February 26, 2014 [without technical details]
Vendor Notification: February 26, 2014
Vendor Patch: February 26, 2014
Public Disclosure: March 19, 2014
Vulnerability Type: Cross-Site Scripting [CWE-79]
CVE Reference: CVE-2014-2219
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 ( https://www.htbridge.com/advisory/ )
-----------------------------------------------------------------------------------------------
Advisory Details:
High-Tech Bridge Security Research Lab discovered vulnerability in CMSimple, which can be exploited to perform Cross-Site Scripting (XSS) attacks.
1) Reflected Cross-Site Scripting (XSS) in CMSimple: CVE-2014-2219
The vulnerability exists due to insufficient sanitisation of user-supplied data in "d" HTTP GET parameter passed to "/whizzywig/wb.php" script. A remote attacker can trick a logged-in user to open a specially crafted link and execute arbitrary HTML and script code in browser in context of the vulnerable website.
The exploitation example below uses the JavaScript "alert()" function to display "immuniweb" word:
http://[host]/whizzywig/wb.php?d=%27%3E%3Cscript%3Ealert%28%27immuniweb%27%29;%3C/script%3E
-----------------------------------------------------------------------------------------------
Solution:
Fixed by vendor on February 26, 2014 directly in the source code without version modification/new release. Update to the version 3.54 released after February 26, 2014.
More Information:
http://sourceforge.net/projects/cmsimple-le/files/cmsimple_classic/
-----------------------------------------------------------------------------------------------
References:
[1] High-Tech Bridge Advisory HTB23205 - https://www.htbridge.com/advisory/HTB23205 - Cross-Site Scripting (XSS) in CMSimple.
[2] CMSimple - http://cmsimple.p2pnation.eu/ - CMSimple is a content management system primarily designed for easy creation and maintenance of small commercial sites, or sites for associations and individuals.
[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.
[5] ImmuniWeb? - https://portal.htbridge.com/ - is High-Tech Bridge's proprietary web application security assessment solution with SaaS delivery model that combines manual and automated vulnerability testing.
-----------------------------------------------------------------------------------------------
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.