------------------------------- INTREST SEC | Security Advisory ------------------------------- Product: Confluence Wiki Vendor: Atlassian (www.atlassian.com) Vulnerability Type: Cross Site Scripting (XSS) Risk Level: High (classified by vendor) Discovered by: INTREST SEC - NID Public Diclosure: 2012/09/12 Vendor Notification: 2012/02/07 Tested Versions: 3.5.9, 4.0.3, 4.1.4 CVSS Score: 7.5 ## Details Atlassian Confluence is described as "Collaboration tool for teams to create, share, and discuss rich content - docs, files, ideas, specs, diagrams, mockups, anything". (www.atlassian.com) ## Description A security vulnerability within Atlassian Confluence Wiki has been identified. It is remotely exploitable and based on the CWE-79 family Cross-Site-Scripting (XSS). Confluence allows input passed in the URL to be injected into the HTML structure of an error-page in an unsafe and unsanitized way. Therefore it is possible to inject nonpersistent JavasScript code. This vulnerability does not require authentication of the victim and can easily be exploited by manipulating the GET request. ## Proof of Concept The following URL triggers the XSS by including