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=20
Vendor Patch: August 15, 2013=20
Public Disclosure: August 21, 2013=20
Vulnerability Type: Cross-Site Scripting [CWE-79]
CVE Reference: CVE-2013-4899
Risk Level: Medium=20
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://w=
ww.htbridge.com/advisory/ )=20
---------------------------------------------------------------------------=
--------------------
Advisory Details:
High-Tech Bridge Security Research Lab discovered vulnerability in Twilight=
CMS, which can be exploited to perform Cross-Site Scripting (XSS) attacks=
=2E
1) Cross-Site Scripting (XSS) in Twilight CMS: CVE-2013-4899
The vulnerability exists due to insufficient filtration of user-supplied da=
ta appended to "/gallery/" URL. A remote attacker can trick a logged-in use=
r to open a specially crafted link and execute arbitrary HTML and script co=
de in browser in context of the vulnerable website.
The exploitation example below uses JavaScript "alert()" function to displa=
y 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 24t=
h of July (Vendor notification date) was 5.17.
Vendor didn't reply to 12 notifications, however silently patched the vulne=
rability 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 convenie=
nt content management system.
[3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - in=
ternational in scope and free for public use, CVE=C2=AE 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 wea=
kness types.=20
---------------------------------------------------------------------------=
--------------------
Disclaimer: The information provided in this Advisory is provided "as is" a=
nd without any warranty of any kind. Details of this Advisory may be update=
d in order to provide as accurate information as possible. The latest versi=
on of the Advisory is available on web page [1] in the References.