CVE-2019-3398 in atlassian confluence server

LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.

What the vulnerability is

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 software: atlassian confluence server

Scores

What LogPulse has for it

How to mitigate it

Upgrade Confluence Server and Data Center to fix the downloadallattachments path traversal (CVE-2019-3398)

Patch or upgrade. Upgrades Confluence to a release that fixes the path traversal in downloadallattachments, which lets a user with attachment rights write files anywhere and run code.

Applies to: Confluence Server and Data Center 2.0.0 before 6.6.13, 6.7.0 before 6.12.4, 6.13.0 before 6.13.4, 6.14.0 before 6.14.3 and 6.15.0 before 6.15.2.

  1. Check the Confluence version (General Configuration > System Information).
  2. Upgrade to 6.6.13, 6.12.4, 6.13.4, 6.14.3, 6.15.2 or later; versions before 7.19 are end of life, so move to a current Long Term Support release.
  3. Until upgraded, review who can add attachments or create spaces and remove anonymous or broad write rights.
  4. Check the Confluence install folders for unexpected .jsp or other files written outside the attachments store.
  5. Rerun the vulnerability scan and confirm CVE-2019-3398 is no longer reported.

Sources:

Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.

We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.

Start free with LogPulse