Atlassian Confluence
Atlassian Confluence Server and Data Center Path Traversal Vulnerability
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.
Timeline
Days relative to CVE publicationFirst public PoC 1.6 days after publication; added to CISA KEV 2.5 years after publication. First PoC: superevr/cve-2019-3398 (created 20 Apr 2019, found by us: backfilled).
PoC repositories
Found on GitHub.2 PoCs
PoCs 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| superevr/cve-2019-3398 | 20 Apr 2019 +1.6 d | 15 | PoC |
| 132231g/CVE-2019-3398 | 28 Jan 2024 +4.8 y | 0 | Scanner |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Exploit-DB | Atlassian Confluence 6.15.1 - Directory Traversal | 12 Nov 2019 | 14 Nov 2026 |
| nuclei template | nuclei template: Atlassian Confluence Download Attachments - Remote Code Execution | 1 May 2023 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 2 PoC reposGET /pages/createpage.action
- Ports
- 8090
- Seen in
- 1 repo: superevr/cve-2019-3398
- Evidence
- superevr/cve-2019-3398/poc.py:29
GET /pages/downloadallattachments.action
- Query
pageId=- Key headers
Accept: */*- Ports
- 8090
- PoC User-Agent
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36- Seen in
- 1 repo: superevr/cve-2019-3398
- Evidence
- superevr/cve-2019-3398/poc.py:37
POST /dologin.action
- Key headers
Accept: */*- Body markers
os_username=adminos_password=passwordlogin=Log+inos_destination=inapplication/x-www-form-urlencoded- Ports
- 8090
- PoC User-Agent
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36- Seen in
- 1 repo: superevr/cve-2019-3398
- Evidence
- superevr/cve-2019-3398/poc.py:23
POST /plugins/drag-and-drop/upload.action
- Query
draftId=filename=../../../../../../opt/atlassian/confluence/confluence/shell.jspsize=637mimeType=text/plainatl_token=- Key headers
Accept: */*- Ports
- 8090
- PoC User-Agent
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36- Seen in
- 1 repo: superevr/cve-2019-3398
- Evidence
- superevr/cve-2019-3398/poc.py:35
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/pages/createpage\.action(?:[?#].*)?$
(?i)^/pages/downloadallattachments\.action\?(?:.*&)?pageId=
(?i)^/dologin\.action(?:[?#].*)?$
(?i)^/plugins/drag-and-drop/upload\.action\?(?:.*&)?draftId=.*filename=\.\./\.\./\.\./\.\./\.\./\.\./opt/atlassian/confluence/confluence/shell\.jsp.*size=637.*mimeType=text/plain.*atl_token=
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8090] (msg:"GG PoC-Monitor CVE-2019-3398 Atlassian Confluence exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/pages/createpage.action"; reference:url,poc.griffinguard.io/cve/CVE-2019-3398; classtype:web-application-attack; sid:9272519; rev:1;)
alert http any any -> $HOME_NET [8090] (msg:"GG PoC-Monitor CVE-2019-3398 Atlassian Confluence exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/pages/downloadallattachments.action"; http.uri; content:"pageId="; http.header; content:"Accept: */*"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2019-3398; classtype:web-application-attack; sid:9730887; rev:1;)
alert http any any -> $HOME_NET [8090] (msg:"GG PoC-Monitor CVE-2019-3398 Atlassian Confluence exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/dologin.action"; http.header; content:"Accept: */*"; nocase; http.request_body; content:"os_username=admin"; http.request_body; content:"os_password=password"; http.request_body; content:"login=Log+in"; http.request_body; content:"os_destination="; reference:url,poc.griffinguard.io/cve/CVE-2019-3398; classtype:web-application-attack; sid:9063779; rev:1;)
alert http any any -> $HOME_NET [8090] (msg:"GG PoC-Monitor CVE-2019-3398 Atlassian Confluence exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/plugins/drag-and-drop/upload.action"; http.uri; content:"draftId="; http.uri; content:"filename=../../../../../../opt/atlassian/confluence/confluence/shell.jsp"; http.uri; content:"size=637"; http.uri; content:"mimeType=text/plain"; http.uri; content:"atl_token="; http.header; content:"Accept: */*"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2019-3398; classtype:web-application-attack; sid:9402076; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Atlassian Confluence exploit attempt (CVE-2019-3398)
id: gg-pocmon-cve-2019-3398-9272519
status: experimental
description: Request pattern taken from public PoCs for CVE-2019-3398. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2019-3398
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/pages/createpage.action'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2019.3398
title: Atlassian Confluence exploit attempt (CVE-2019-3398)
id: gg-pocmon-cve-2019-3398-9730887
status: experimental
description: Request pattern taken from public PoCs for CVE-2019-3398. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2019-3398
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/pages/downloadallattachments.action'
cs-uri-query|contains|all:
- 'pageId='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2019.3398
title: Atlassian Confluence exploit attempt (CVE-2019-3398)
id: gg-pocmon-cve-2019-3398-9063779
status: experimental
description: Request pattern taken from public PoCs for CVE-2019-3398. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2019-3398
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/dologin.action'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2019.3398
title: Atlassian Confluence exploit attempt (CVE-2019-3398)
id: gg-pocmon-cve-2019-3398-9402076
status: experimental
description: Request pattern taken from public PoCs for CVE-2019-3398. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2019-3398
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/plugins/drag-and-drop/upload.action'
cs-uri-query|contains|all:
- 'draftId='
- 'filename=../../../../../../opt/atlassian/confluence/confluence/shell.jsp'
- 'size=637'
- 'mimeType=text/plain'
- 'atl_token='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2019.3398