CVE Tools

CVE-2021-44228

Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints

Exploited in the wild. In CISA KEV since 2021‑12‑10. A vendor fix is available.

Published Updated Sources: CVE.org, NVD, GitHub, BDU, CSAF

What to do

The vendor has published a fix. Version details are below where the sources state them.

Steps

Written by AI from the record
  1. Check whether any system in your business uses Apache Log4j2 (log4j-core) and whether it can receive untrusted input that ends up in Log4j2 log messages.
  2. Identify your exact Log4j2 version on each affected application/server (and also check included libraries inside packaged software).
  3. Upgrade to the fixed versions: apache log4j (log4j-core) >= 2.3.1, or for affected firmware/software where updates exist use the listed fixes (e.g., 6bk1602-0aa* firmware fixed in 2.7.0; capital fixed in 2019.1; comos fixed in 10.4.2; e-car operation center fixed in 2021-12-13; energyip prepay fixed in 3.8.0.12; gma-manager fixed in 8.6.2j-398; industrial edge management hub fixed in 2021-12-13).
  4. If you cannot update immediately, temporarily remove the affected assets from your network (or apply the interim mitigations from CISA until updates are available).
  5. After updating/mitigating, review logs and alerting for unusual outbound LDAP/JNDI-like connections and unexpected processes launched by the server.

What it is

From the CVE record

Apache Log4j2 2.0-beta9 through 2.15.0 (excluding security releases 2.12.2, 2.12.3, and 2.3.1) JNDI features used in configuration, log messages, and parameters do not protect against attacker controlled LDAP and other JNDI related endpoints. An attacker who can control log messages or log message parameters can execute arbitrary code loaded from LDAP servers when message lookup substitution is enabled. From log4j 2.15.0, this behavior has been disabled by default. From version 2.16.0 (along with 2.12.2, 2.12.3, and 2.3.1), this functionality has been completely removed. Note that this vulnerability is specific to log4j-core and does not affect log4net, log4cxx, or other Apache Logging Services projects.

In plain language

Written by AI from the record

CVE-2021-44228 (Apache Log4j2) lets an attacker run code by sneaking instructions into text that gets written to logs—so any small business using affected Log4j2 software should treat it as an urgent, serious fix if the affected system can be reached over the network.

CVE-2021-44228 is an unauthenticated remote code execution flaw in Apache Log4j2 triggered by attacker-controlled log message content/parameters when Log4j2 message lookup substitution and JNDI resolution to attacker-controlled LDAP/other JNDI endpoints are enabled; exploitation is confirmed by inclusion in CISA KEV and has been used in ransomware campaigns.

If you're affected

  • Full server takeover
  • Ransomware infection risk
  • Customer data exposure
  • Operations disrupted

Exploitation

Where each signal puts this CVE on the scale from published to confirmed exploited.

EPSS99th
Public exploit
CISA KEV
CISA KEV

Listed as exploited in the wild since 2021-12-10.

US federal agencies must remediate by 2021-12-24.

Known use in ransomware campaigns.

For all affected software assets for which updates exist, the only acceptable remediation actions are: 1) Apply updates; OR 2) remove affected assets from agency networks. Temporary mitigations using one of the measures provided at https://www.cisa.gov/uscert/ed-22-02-apache-log4j-recommended-mitigation-measures are only acceptable until updates are available.
Public exploits

23 sources with a proof of concept or module.

Exploit links, PoCs and Metasploit modules after sign-in
EPSS

100% chance of exploitation activity in the next 30 days, which ranks it in the 99th percentile of scored CVEs.

Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.

Lifecycle

The patch came 14 days before any public exploit.

  1. Analysis publishedEPSS vs CVSS vs KEV: which number actually tells you to patch
  2. Patch availableworkaround available, record updated
  3. Analysis publishedStop typing your software inventory. Import it in one command.
  4. Analysis publishedI gave cve.tools my software inventory. Here's exactly what it does with it.
  5. OpenVAS check added
  6. Public exploit / PoCsource: github-pocnuclei check added

Affected products

And 213 more affected products. See all after sign-in

Technical detail

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Scored 10.0 by NVD.

How it is reached

  • Attack Vector NetworkExploitable remotely over the network without any special conditions
  • Attack Complexity LowNo special conditions — the attack can be reliably reproduced
  • Privileges Required NoneNo authentication required — anyone can exploit this
  • User Interaction NoneNo user interaction needed — fully automated exploitation

Scope

  • Scope ChangedThe exploit can affect other components (e.g. sandbox escape, host compromise from VM)

Impact if exploited

  • Confidentiality HighTotal information disclosure — all data in the component is compromised
  • Integrity HighTotal loss of integrity — attacker can modify any data in the component
  • Availability HighTotal denial of service — the component is completely unavailable

Weaknesses

ATT&CK techniques

Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.

Sources

Watch the software you run.

My Stack ranks new CVEs for your products by real-world exploitation, so the next exploited one reaches you without reading every advisory.

We'll flag the next CVE, public exploit or patch for Cisco, not every advisory. This one: actively exploited.

We use analytics cookies to see which pages and articles actually help people. Decline and none of them run — the site works the same. What we store