Zikula version 1.3.5 build 20 suffers from a cross site scripting vulnerability.
d4aa7a019d25c876743342db6f2f79b44ee7b8795498b59486f415c5a8de7698
Advisory ID: HTB23178
Product: Zikula Application Framework
Vendor: Zikula Software Foundation
Vulnerable Version(s): 1.3.5 build 20 and probably prior
Tested Version: 1.3.5 build 20
Advisory Publication: October 16, 2013 [without technical details]
Vendor Notification: October 16, 2013
Vendor Patch: October 31, 2013
Public Disclosure: November 13, 2013
Vulnerability Type: Cross-Site Scripting [CWE-79]
CVE Reference: CVE-2013-6168
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 Zikula Application Framework, which can be exploited to perform Cross-Site Scripting (XSS) attacks.
1) Cross-Site Scripting (XSS) in Zikula Application Framework: CVE-2013-6168
1.1 The vulnerability exists due to insufficient sanitisation of user-supplied data in "returnpage" HTTP GET parameter passed to "/index.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 "alert()" JavaScript function to display "ImmuniWeb" word:
http://[host]/index.php?module=users&type=user&func=login&returnpage=%22%3E%3Cscript%3Ealert%28%27ImmuniWeb%27%29;%3C/script%3E
-----------------------------------------------------------------------------------------------
Solution:
Update to Zikula 1.3.6 build 19
More Information:
https://github.com/zikula/core/issues/1364
http://community.zikula.org/index.php?module=News&func=display&sid=3132
-----------------------------------------------------------------------------------------------
References:
[1] High-Tech Bridge Advisory HTB23178 - https://www.htbridge.com/advisory/HTB23178 - Cross-Site Scripting (XSS) in Zikula Application Framework.
[2] Zikula - http://zikula.org - Zikula is an open source MVC web application framework, released under the LGPLv3, that allows you to rapidly build websites for any application.
[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® - http://www.htbridge.com/immuniweb/ - 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.