Skip to content
RCE Write-up Advanced

The Log4j Specter Still Lingers!

A search engine feature at a hosting provider was vulnerable to Log4j injection, and the author crafted a payload that bypassed the web application firewall to achieve remote code execution. The text claims RCE but gives no technical detail beyond the payload itself.

medium.com

Published on medium.com

Even after years, the infamous Log4j vulnerability lurks in the shadows of critical infrastructure. Recently, I uncovered a Log4j vulnerability buried deep within the search engine mechanism of a major hosting provider — an asset critical to its operations.

Umer Yousuf, on medium.com

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 user input from the search feature reached a vulnerable Log4j logging call without sanitisation, and the WAF's pattern matching was too narrow to catch the obfuscated form.

Impact

An attacker could achieve remote code execution on a critical asset, though the text gives no detail on what was actually executed or what data was reachable.

What the attacker needed

Access to the search feature; WAF bypass payload

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 can be tricked into fetching and running code from an address an attacker controls. Here the search box passed user input into that logging, and the author found a way to write the malicious text so the firewall did not recognise it. The result is that the attacker could run their own commands on the server.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.