Skip to content
NewA calmer, faster ZeroHour
VulnerabilityKEVRansomwarePoC ×95 · 1 read

CVE-2021-44228

JNDI Injection Remote Code Execution in Apache Log4j2 (Log4Shell)

CISA: Apache Log4j2 Remote Code Execution Vulnerability

CVSS 3.1
10.0 critical
EPSS
100%p100
Published
·
Added to KEV
Analyze CVE-2021-44228 with Vani AIImpact, affected versions, exploitation status, mitigations and detection

Apache Log4j2, an extremely widely used Java logging library, fails to protect its JNDI lookup feature against attacker-controlled JNDI-related endpoints (CWE-20, CWE-502), so crafted text processed by the logger causes the Java runtime to fetch and load attacker-supplied objects, leading to remote code execution. The flaw is triggered whenever attacker-controlled input reaches the logging API and is parsed for JNDI lookups, a pattern common in web servers and enterprise Java applications that log user-supplied fields such as headers or form values. Successful exploitation yields arbitrary code execution under the privileges of the affected application, giving attackers a foothold for lateral movement, data theft, and ransomware deployment. Any Java application or product that ships or bundles an affected Apache Log4j2 release is exposed, making this one of the most broadly deployed vulnerabilities ever disclosed. Exploitation is confirmed in the wild: CISA added it to the Known Exploited Vulnerabilities catalog on 2021-12-10 with known ransomware use, and EPSS assigns a 100% probability of exploitation within 30 days.

What to do: Inventory all Java applications and dependencies for Apache Log4j2 and apply the vendor's patched updates, or remove affected assets from the network, as required by CISA's KEV catalog. Where updates are not yet available, use the temporary mitigations in CISA's ED-22-02 recommended-mitigation guidance, such as disabling message lookups, only until patches are applied. Prioritize internet-facing and business-critical systems and hunt for exploitation activity given known ransomware use.

ProductAffected
Apache Log4j2—
Estimated exposure
masshundreds of millions of Java applications/devices, with hundreds of thousands of internet-exposed services — Log4j2 is one of the most widely embedded Java logging libraries, present directly or transitively in a vast share of Java software, and public internet-wide scans after disclosure identified hundreds of thousands of exposed services, with…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description · NVD

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.

KEVCISA Known Exploited Vulnerability
Affected
Apache Log4j2
Required action
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.
Due date
Ransomware use
Known
Vendors
siemensapacheinteldebianfedoraprojectsonicwallnetappciscosnowsoftwarebentleypercussionapple
Products
6bk1602-0aa12-0tp0 firmware, 6bk1602-0aa22-0tp0 firmware, 6bk1602-0aa32-0tp0 firmware, 6bk1602-0aa42-0tp0 firmware, 6bk1602-0aa52-0tp0 firmware, log4j, sppa-t3000 ses3000 firmware, capital, comos, desigo cc advanced reports, desigo cc info center, e-car operation center
Weakness
CWE-20, CWE-400, CWE-502, CWE-917
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

In the news

20 stories