Threat Feed

CVE-2021-44228: Apache Log4j2 · Remote code execution

Exploitation: In the wild · CVSS 10.0 Critical · Unauthenticated · Published 2021-12-10

Description

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.

Enclave's analysis

Log4Shell is a remote code execution bug in Apache log4j-core 2.0-beta9 through 2.15.0. If an attacker can get a string into a log call, Log4j will fetch and run code from an attacker-controlled JNDI endpoint such as LDAP. It's in CISA KEV, used in ransomware, and public tooling exists. Upgrade to 2.16.0 or later, or the 2.3.1 and 2.12.2 releases. Check bundled copies in vendor products too.

Fix

Upgrade Apache Log4j2 log4j-core to 2.16.0 or later; or 2.3.1, 2.12.2, 2.12.3; Siemens 6BK1602 series firmware to 2.7.0; Apple Xcode to 13.3. See the affected versions for other product fixes. No fixed version is listed for Apache Log4j2, Cisco products with bundled Log4j (e.g. DNA Center, Data Center Network Manager, CloudCenter, Crosswork, BroadWorks); follow the vendor advisory.

Vendor advisory

Affected versions

ProductVulnerableFixed in
Apache Log4j22.0-beta9 before log4j-core*Not listed
Apache Log4j2 log4j-core2.0-beta9 through 2.15.0, excluding security releases 2.3.1, 2.12.2 and 2.12.3. NVD CPE ranges end before 2.15.0.2.16.0 or later; or 2.3.1, 2.12.2, 2.12.3
Siemens 6BK1602 series firmwareVersions before 2.7.02.7.0
Apple XcodeVersions before 13.313.3
Bentley Synchro6.1 up to before 6.2.4.26.2.4.2
Cisco products with bundled Log4j (e.g. DNA Center, Data Center Network Manager, CloudCenter, Crosswork, BroadWorks)Product-specific ranges; the list is truncated in the recordNot listed

Seen in 5 sources