Actual CVE-2021-44228 payloads captured in the wild
The Log4j library was vulnerable to remote code execution through JNDI lookups in logged strings, and attackers were scanning the internet with crafted payloads to find and exploit vulnerable servers. The captured payloads show reconnaissance attempts, callback schemes and evasion using Log4j's own string features.
blog.cloudflare.com
Published on blog.cloudflare.com
I wrote earlier about how to mitigate CVE-2021-44228 in Log4j, how the vulnerability came about and Cloudflare’s mitigations for our customers. As I write we are rolling out protection for our FREE customers as well because of the vulnerability’s severity.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the Log4j lookup feature resolved JNDI references embedded in logged strings, allowing attacker-controlled text to trigger outbound requests and code loading.
Impact
Attackers could use the payloads to confirm which servers were exploitable, and the post notes that some reconnaissance will eventually turn into actual penetration of servers and companies.
What the attacker needed
Attacker can get text logged by a vulnerable app
The fix
Cloudflare updated its WAF and firewall rules as exploit attempts evolved, and the post describes mitigation of the vulnerability.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Log4j is a logging library used by many Java applications. It treated certain text inside logged messages as instructions to fetch something from another server, so an attacker who could get text logged could make the server contact a machine they control, and in the worst case run their commands. This post shows the kinds of messages attackers were sending to find vulnerable servers.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.