Twilight CMS 5.17 Cross Site Scripting

2013-08-22T00:00:00
ID PACKETSTORM:122902
Type packetstorm
Reporter High-Tech Bridge SA
Modified 2013-08-22T00:00:00

Description

                                        
                                            `Advisory ID: HTB23166  
Product: Twilight CMS  
Vendor: Strata Technologies LLC  
Vulnerable Version(s): 5.17 and probably prior  
Tested Version: 5.17  
Vendor Notification: July 24, 2013   
Vendor Patch: August 15, 2013   
Public Disclosure: August 21, 2013   
Vulnerability Type: Cross-Site Scripting [CWE-79]  
CVE Reference: CVE-2013-4899  
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 Twilight CMS, which can be exploited to perform Cross-Site Scripting (XSS) attacks.  
  
  
1) Cross-Site Scripting (XSS) in Twilight CMS: CVE-2013-4899  
  
The vulnerability exists due to insufficient filtration of user-supplied data appended to "/gallery/" URL. 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 JavaScript "alert()" function to display user's cookies:  
  
http://[host]/gallery//%f6%22%20onmouseover%3dalert%28document.cookie%29%20//  
  
  
  
-----------------------------------------------------------------------------------------------  
  
Solution:  
  
The only version of Twilight CMS publicly available for download on the 24th of July (Vendor notification date) was 5.17.  
  
Vendor didn't reply to 12 notifications, however silently patched the vulnerability in version 5.24, which is now available for download on www.twl.ru (Russian version of Vendor website).  
  
Update to version 5.24.  
  
-----------------------------------------------------------------------------------------------  
  
References:  
  
[1] High-Tech Bridge Advisory HTB23166 - https://www.htbridge.com/advisory/HTB23166 - Cross-Site Scripting (XSS) in Twilight CMS.  
[2] Twilight CMS - http://www.twilightcms.com/ - Twilight CMS is a convenient content management system.  
[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.   
  
-----------------------------------------------------------------------------------------------  
  
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.  
`