CrowdSec
1/10CrowdSec Score

Apache Log4j2 - RCE (CVE-2021-44228)

Published on10-12-2021
First seen on10-12-2021

13409Exploiting IPs reported

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.

CrowdSec analysis

CVE-2021-44228 is a critical remote code execution vulnerability in Apache Log4j2, often referred to as “Log4Shell.” It allows attackers to exploit JNDI lookups within log messages, enabling arbitrary code execution when crafted data is logged by affected systems.

CrowdSec has been tracking this vulnerability and its exploits since 10th of December 2021.

Based on data from the CrowdSec network, nearly all observed exploitation of CVE-2021-44228 is fully opportunistic, with attackers indiscriminately scanning the entire internet. These attacks are automated and lack any form of target selection or reconnaissance. Data from the CrowdSec community also indicates a gradual decrease in attacks targeting CVE-2021-44228. While still present in the wild, exploitation levels have dropped noticeably week-over-week. This may signal that the vulnerability is becoming less relevant or that defenses are improving fast enough for attackers to lose interest.

Observed attacks typically involve injection patterns in the request path that contain variations of ${jndi:, reflecting the core technique used to trigger the remote code execution condition.

Exploitation

Get real-time information about exploitation attempts and actors involved.

Detected IPs

Discover the IPs that targeted this vulnerability across the CrowdSec Network.

Protection

Find out relevant information to protect your stack against this CVE.

Blocklist

With our advanced worldwide network detection, CrowdSec can provide a list of IPs known for exploiting the vulnerability.

To increase your protection against this CVE, block exploitation attempts with this list of identified actors.