Log4Shell CVE-2021-44228
CVSS 10.0Root cause
Log4j 2 evaluated ${jndi:...} lookups inside any logged message. A user-controlled string, such as a User-Agent header, caused the server to fetch and load a Java class from an attacker’s LDAP server.
Why it mattered
Logging touches almost every input, and Log4j was embedded in thousands of products, many of which customers did not know contained it.
Detection
Search logs for ${jndi: patterns (including obfuscated forms), watch for outbound LDAP/RMI/DNS to unknown hosts, and inventory JARs for vulnerable log4j-core versions.
Fix
Upgrade to Log4j 2.17.1 or later (2.12.4 for Java 7, 2.3.2 for Java 6), restrict outbound traffic from servers and maintain an SBOM so the next library flaw is found in hours, not weeks.
Lesson: A software inventory is a security control. OWASP Top 10:2025 A03 (Software Supply Chain Failures).