CVE-2022-26134 in atlassian confluence data center

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

What the vulnerability is

In affected versions of Confluence Server and Data Center, an OGNL injection vulnerability exists that would allow an unauthenticated attacker to execute arbitrary code on a Confluence Server or Data Center instance. The affected versions are from 1.3.0 before 7.4.17, from 7.13.0 before 7.13.7, from 7.14.0 before 7.14.3, from 7.15.0 before 7.15.2, from 7.16.0 before 7.16.4, from 7.17.0 before 7.17.4, and from 7.18.0 before 7.18.1.

Affected software: atlassian confluence data center, atlassian confluence server

Scores

What LogPulse has for it

How to mitigate it

Upgrade Confluence Server/Data Center to a fixed release (CVE-2022-26134)

Patch or upgrade. Upgrading Confluence Server or Data Center to 7.4.17, 7.13.7, 7.14.3, 7.15.2, 7.16.4, 7.17.4, 7.18.1 or later removes the unauthenticated OGNL injection that allows remote code execution. This flaw is actively exploited and used by ransomware groups, so treat it as urgent.

Applies to: Confluence Server and Data Center 1.3.0 up to 7.4.16, 7.5.x to 7.13.6, 7.14.0-7.14.2, 7.15.0-7.15.1, 7.16.0-7.16.3, 7.17.0-7.17.3 and 7.18.0. Atlassian Cloud (atlassian.net) is not affected.

  1. Check your Confluence version under Administration > General Configuration > System Information, or look at the confluence-<version>.jar file name in <confluence-install>/confluence/WEB-INF/lib.
  2. If the instance can be reached from the internet and you cannot upgrade right away, block outside access to it (firewall or reverse proxy) until it is patched, as CISA advises.
  3. Download a fixed release from the Atlassian download centre: 7.4.17, 7.13.7, 7.14.3, 7.15.2, 7.16.4, 7.17.4, 7.18.1 or the latest Long Term Support release. Versions 7.5 to 7.12 have no fix in their own branch and must move to a fixed branch.
  4. Back up the Confluence home directory, the install directory and the database.
  5. Run the upgrade. For Data Center clusters, plan downtime: a rolling upgrade to the fixed versions is not possible. Upgrade every node.
  6. Temporary workaround only if an upgrade cannot happen right away: stop Confluence and replace the jar files as the Atlassian advisory describes. On 7.15.0-7.18.0, replace xwork-1.0.3-atlassian-8.jar with xwork-1.0.3-atlassian-10.jar. On 6.0.0-7.14.2, replace xwork-1.0.3.6.jar and webwork-2.1.5-atlassian-3.jar, and add CachedConfigurationProvider.class. Do this on every node, then start Confluence again.
  7. Look for signs of compromise: search the web access logs for ${ or %24%7B in request URIs, check for unknown JSP files or web shells in the install directory, and check for odd child processes of the Confluence Java process.

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