The Patching Friars' AlmanacA calendar of CVE saints

Patron of December 9

Log4ShellHoly card for log4shell, generated with AI (Claude, Anthropic) for the Lunario dei Frati Patchatori.CC BY-NC-SA 4.0 ${jndi:} Log4Shell JNDI DELENDA EST
🤖 Image and text generated with AI

⬇ Download holy card: ·

Embed on your site

Saint Log4Shell, Martyr of JNDI

Patron of sysadmins recalled to duty on weekends, logs that execute what they read, and everyone who didn't know they had Java at home.

Life

Born in a logging library nobody remembered installing, he revealed himself to the world on 9 December 2021 in a Minecraft chat line. It was enough to write his name between ${ } for half the planet's servers to welcome him, query him over LDAP and hand over the keys to the house.

Prayer

O Saint Log4Shell, who enters through every text field, keep our user-agents strings and never lookups. Deliver us from JNDI and from transitive dependencies. Amen.

How to celebrate

Celebrated by upgrading Log4j to 2.17.1, grepping every fat JAR in the datacenter, and spending Christmas building a software bill of materials.

Log4Shell's day brings no rest: if JNDI's open, the attacker's a guest.

Technical record

Disclosed on
December 9 2021
CVE
CVE-2021-44228
CVSS
10.0Actively exploited (CISA KEV)
Product
Apache Software Foundation · Apache Log4j2

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.

Sources: twitter.com · web.archive.org · github.com · en.wikipedia.org · cnblogs.com

📅 Add to your calendar

SaintsGoogle CalendarApple, Outlook (.ics)

Observances (feasts, scourges and miracles)Google CalendarApple, Outlook (.ics)

In Google Calendar you can also paste the URL in Settings → Add calendar → From URL. The first sync can take a few hours.