PoC Monitor
← All CVEs
CVE-2019-3398published 18 Apr 2019 17:21 UTCData: JSON · API

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.

First public PoC 1.6 daysafter publication · 20 Apr 2019
Public PoCs42 on GitHub · 2 Exploit-DB, Metasploit or nuclei
CVSS8.8high · scored by CISA ADP · CWE-22
CISA KEV 3 Nov 20212.5 years after publication

Timeline

Days relative to CVE publication
t=0+180+360+540+720+900CVE published18 Apr 2019 · t = 0First public PoC20 Apr 2019 · t+1.6dAdded to CISA KEV3 Nov 2021 · t+2.5y

First 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
RepositoryCreatedStarsAssessment
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.
SourceTitlePublishedFound by us
Exploit-DBAtlassian Confluence 6.15.1 - Directory Traversal12 Nov 201914 Nov 2026
nuclei templatenuclei template: Atlassian Confluence Download Attachments - Remote Code Execution1 May 202314 Nov 2026

PoC characteristics

What to hunt for in your logs · from 2 PoC repos

GET /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=admin os_password=password login=Log+in os_destination= in application/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.jsp size=637 mimeType=text/plain atl_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.

GET /pages/createpage.action
(?i)^/pages/createpage\.action(?:[?#].*)?$
GET /pages/downloadallattachments.action
(?i)^/pages/downloadallattachments\.action\?(?:.*&)?pageId=
POST /dologin.action
(?i)^/dologin\.action(?:[?#].*)?$
POST /plugins/drag-and-drop/upload.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.

GET /pages/createpage.action
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;)
GET /pages/downloadallattachments.action
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;)
POST /dologin.action
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;)
POST /plugins/drag-and-drop/upload.action
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.

GET /pages/createpage.action
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
GET /pages/downloadallattachments.action
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
POST /dologin.action
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
POST /plugins/drag-and-drop/upload.action
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