Description
Confluence Server and Data Center had a path traversal vulnerability in the downloadallattachments resource. A remote attacker who has permission to add attachments to pages and / or blogs or to create a new space or a personal space or who has 'Admin' permissions for a space can exploit this path traversal vulnerability to write files to arbitrary locations which can lead to remote code execution on systems that run a vulnerable version of Confluence Server or Data Center. All versions of Confluence Server from 2.0.0 before 6.6.13 (the fixed version for 6.6.x), from 6.7.0 before 6.12.4 (the fixed version for 6.12.x), from 6.13.0 before 6.13.4 (the fixed version for 6.13.x), from 6.14.0 before 6.14.3 (the fixed version for 6.14.x), and from 6.15.0 before 6.15.2 are affected by this vulnerability.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Atlassian | Confluence | 2.0.0 – < unspecified, unspecified – < 6.6.13, 6.7.0 – < unspecified, unspecified – < 6.12.4, 6.13.0 – < unspecified, unspecified – < 6.13.4, 6.14.0 – < unspecified, unspecified – < 6.14.3, 6.15.0 – < unspecified, unspecified – < 6.15.2 | unspecified |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Atlassian Confluence 6.15.1 - Directory Traversal EDB-47621 · webapps · Nov 12, 2019
GitHub 2 repositories
-
superevr/cve-2019-3398 ★ 15 · Apr 20, 2019
Python script to exploit confluence path traversal vulnerability cve-2019-3398
-
132231g/CVE-2019-3398 ★ 0 · Jan 28, 2024
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Atlassian Confluence Download Attachments - Remote Code Execution http/cves/2019/CVE-2019-3398.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
References
- https://jira.atlassian.com/browse/CONFSERVER-58102
- 20190424 Confluence Security Advisory - 2019-04-17 mailing-list
- http://packetstormsecurity.com/files/152616/Confluence-Server-Data-Center-Path-Traversal.html
- 108067 vdb-entry
- http://packetstormsecurity.com/files/155235/Atlassian-Confluence-6.15.1-Directory-Traversal.html
- http://packetstormsecurity.com/files/155245/Atlassian-Confluence-6.15.1-Directory-Traversal.html