Lucene search
K

Atlassian Confluence 5.9.12 Cross Site Scripting

🗓️ 04 Jan 2017 00:00:00Reported by Jodson SantosType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 92 Views

Atlassian Confluence 5.9.12 Cross Site Scripting Vulnerabilit

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Atlassian Confluence Jira 5.9.12 - Persistent Cross-Site Scripting Vulnerability
4 Jan 201700:00
zdt
Tenable Nessus
Atlassian Confluence Server 5.10.x < 5.10.6 XSS
8 Feb 201700:00
nessus
Circl
CVE-2016-6283
4 Jan 201700:00
circl
CNVD
Atlassian Confluence HTML Injection Vulnerability
6 Jan 201700:00
cnvd
CVE
CVE-2016-6283
18 Jan 201722:00
cve
Cvelist
CVE-2016-6283
18 Jan 201722:00
cvelist
Exploit DB
Atlassian Confluence &lt; 5.10.6 - Persistent Cross-Site Scripting
4 Jan 201700:00
exploitdb
EUVD
EUVD-2016-7213
7 Oct 202500:30
euvd
NVD
CVE-2016-6283
18 Jan 201722:59
nvd
Prion
Cross site scripting
18 Jan 201722:59
prion
Rows per page
`=====[ Tempest Security Intelligence - ADV-3/2016 CVE-2016-6283 ]==============  
  
Persisted Cross-Site Scripting (XSS) in Confluence Jira Software  
----------------------------------------------------------------  
  
Author(s):  
- Jodson Santos  
- [email protected]  
  
Tempest Security Intelligence - Recife, Pernambuco - Brazil  
  
=====[ Table of Contents ]=====================================================  
  
1. Overview  
2. Detailed description  
3. Affected versions & Solutions  
4. Timeline of disclosure  
5. Thanks & Acknowledgements  
6. References  
  
=====[1. Overview ]============================================================  
  
* System affected : Atlassian Confluence  
* Software Version : 5.9.12  
Other versions or models may also be affected.  
* Impact : This vulnerability allows an attacker to use Confluence's  
platform to deliver attacks against other users.  
  
=====[2. Detailed description ]================================================  
  
Atlassian Confluence version 5.9.12 is vulnerable to persistent cross-site  
scripting (XSS) because it fails to securely validate user controlled data,  
thus making it possible for an attacker to supply crafted input in order to  
harm users. The bug occurs at pages carrying attached files, even though the  
attached file name parameter is correctly sanitized upon submission, it is  
possible for an attacker to later edit the attached file name property and  
supply crafted data (i.e HTML tags and script code) without the occurrence of  
any security checks, resulting in an exploitable persistent XSS.  
  
In order to reproduce the vulnerability, go to a page with an attached file,  
click on "Attachments" in order to list the page's attachments, and then click  
on "Properties" for the file of your choice. Edit the file name to, for  
example, <script>alert(1)</script>test.pdf and then save the changes. Albeit  
the XSS is not executed within the page display, it is possible to trigger the  
execution of the supplied code while performing a search within Confluence in  
which results include the attachment with crafted file name. For that matter,  
the search terms " or * will promptly display the file and execute the injected  
javascript code.  
  
As a means to further enlighten this, the following excerpt demonstrates a POST  
request with the malicious insertion within the newFileName field:  
  
POST /pages/doeditattachment.action?pageId={pageId}&attachmentBean.fileName={filename} HTTP/1.1  
Host: {confluence host}  
Cookie: mywork.tab.tasks=false; JSESSIONID={redacted};  
confluence.browse.space.cookie=space-templates  
Connection: keep-alive  
Content-Type: application/x-www-form-urlencoded  
Content-Length: {redacted}  
  
atl_token={atl_token}&pageId={pageId}&isFromPageView=false&newFileName=<script>alert(1)</script>file&newComment=&newContentType=application%2Foctet-stream&newParentPage=&confirm=Save  
  
It is worth noting that the issue may affect users regardless of privilege  
levels, since the malicious page/attachment can be browsed by any user within  
the Atlassian Confluence instance.  
  
=====[3. Affected versions & Solutions ]=======================================  
  
This test was performed against Atlassian Confluence version 5.9.12.  
  
According to vendor's response, the vulnerability is addressed and the fix is  
part of the 5.10.6 release.  
  
=====[4. Timeline of disclosure ]==============================================  
  
Jul/07/2016 - Vendor acknowledged the vulnerability.  
Aug/04/2016 - Vendor released the fix for the vulnerability in version  
5.10.6.  
  
=====[5. Thanks & Acknowledgements ]===========================================  
  
- Tempest Security Intelligence / Tempest's Pentest Team [1]  
- Joaquim Brasil  
- Heyder Andrade  
- Breno Cunha  
  
=====[6. References ]==========================================================  
  
[1] https://en.wikipedia.org/wiki/Confluence_(software)  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation