Document Title: =============== ZMS v3.2 CMS - Multiple Client Side Cross Site Scripting Web Vulnerabilities References (Source): ==================== Release Date: ============= 2016-07-28 Vulnerability Laboratory ID (VL-ID): ==================================== 1890 Common Vulnerability Scoring System: ==================================== 3.3 Product & Service Introduction: =============================== ZMS is the python content management solution (CMS) for website-based ePublishing. An easy Editorial interface and flexible content modeling (multilingualism, metadata, content objects, XML import / export, workflow etc.) aimed at optimum productivity for web pages, documentation and Educational content. ZMS is based on Zope, the leading open-source Web application server. ZOPE is platform-independent and runs on Linux, Unix, Solaris, Windows 9x / NT / 2000 / XP / Vista / 7 and Mac OS X. (Copy of the Vendor Homepage: ) Abstract Advisory Information: ============================== The vulnerability laboratory core research team discovered two client-side cross site scripting vulnerability in the official ZMS v3.2 python content management system. Vulnerability Disclosure Timeline: ================================== 2016-07-28: Public Disclosure (Vulnerability Laboratory) Discovery Status: ================= Published Affected Product(s): ==================== Exploitation Technique: ======================= Remote Severity Level: =============== Medium Technical Details & Description: ================================ Multiple client-side cross site scripting web vulnerabilities has been discovered iin the official ZMS v3.2 python content management system. The cross site scripting web vulnerability allows remote attackers to inject own malicious script code to client-side browser to web-application requests. The vulnerabilities are located in the `manage_tabs_message` parameter of the `manage_importexport` and `manage_main` files. Remote attackers are able to inject own malicious script codes via GET method request to compromise user session data. The attack vector is persistent and the request method to inject is GET. The message context of the status is not secure parsed by the python validation, thus results in the persistent execute of the script code payload. The security risk of the vulnerability is estimated as medium with a cvss (common vulnerability scoring system) count of 3.3. Exploitation of the vulnerability requires no privileged user account or restricted access and only low user interaction. Successful exploitation of the vulnerabilities results in non-persistent phishing mails, session hijacking, non-persistent external redirect to malicious sources and application-side manipulation of affected or connected module context. Vulnerable Module(s) [+] manage_main [+] manage_importexport Vulnerable Parameter(s) [+] manage_tabs_message Affected Module(s) [+] Status Message Proof of Concept (PoC): ======================= The client-side cross site vulnerabilities can be exploited by remote attackers without privileged user account and with low user interaction. For security demonstration of the issue or to reproduce the vulnerability follow the provided information and steps below to continue. PoC: Exploitation http://zms.localhost:8080/manage_importexport?lang=ger&manage_tabs_message=%3Ciframe%20src=a%20onload=alert(document.cookie)%20%3C PoC: Alert Status Message