Deserialization of Untrusted Data Affecting org.apache.solr:solr-core package, versions [5.0.0,7.0.0)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Mature
EPSS
94.18% (100th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Deserialization of Untrusted Data vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGAPACHESOLR-173756
  • published7 Mar 2019
  • disclosed7 Mar 2019
  • creditMichael Stepankin

Introduced: 7 Mar 2019

CVE-2019-0192  (opens in a new tab)
CWE-502  (opens in a new tab)

How to fix?

Upgrade org.apache.solr:solr-core to version 7.0.0 or higher.

Overview

org.apache.solr:solr-core is an open source enterprise search platform built on Apache Lucene

Affected versions of this package are vulnerable to Deserialization of Untrusted Data. ConfigAPI allows to set a jmx.serviceUrl that will create a new JMXConnectorServerFactory and trigger a call with 'bind' operation to a target RMI/LDAP server. A malicious RMI server could respond with arbitrary object that will be deserialized on the Solr side using java's ObjectInputStream, which is considered unsafe. This type of vulnerabilities can be exploited with ysoserial tool. Depending on the target classpath, an attacker can use one of known "gadget chains" to trigger Remote Code Execution on the Solr side.

CVSS Scores

version 3.1