CVE Vulnerabilities

CVE-2019-0192

Deserialization of Untrusted Data

Published: Mar 07, 2019 | Modified: Nov 21, 2024
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
9.8 IMPORTANT
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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 Solrs unsafe deserialization to trigger remote code execution on the Solr side.

Weakness

The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.

Affected Software

NameVendorStart VersionEnd Version
SolrApache5.0.0 (including)5.5.5 (including)
SolrApache6.0.0 (including)6.6.5 (including)
Red Hat Fuse 7.4.0RedHatcamel-solr*
Lucene-solrUbuntubionic*
Lucene-solrUbuntucosmic*
Lucene-solrUbuntudisco*
Lucene-solrUbuntueoan*
Lucene-solrUbuntufocal*
Lucene-solrUbuntugroovy*
Lucene-solrUbuntuhirsute*
Lucene-solrUbuntuimpish*
Lucene-solrUbuntukinetic*
Lucene-solrUbuntulunar*
Lucene-solrUbuntumantic*
Lucene-solrUbuntuoracular*
Lucene-solrUbuntuplucky*
Lucene-solrUbuntutrusty*
Lucene-solrUbuntutrusty/esm*
Lucene-solrUbuntuxenial*

Potential Mitigations

  • Make fields transient to protect them from deserialization.
  • An attempt to serialize and then deserialize a class containing transient fields will result in NULLs where the transient data should be. This is an excellent way to prevent time, environment-based, or sensitive variables from being carried over and used improperly.

References