Exposed dangerous method or function in Apache Solr - CVE-2019-0193

 

Exposed dangerous method or function in Apache Solr - CVE-2019-0193

Published: August 13, 2019 / Updated: February 20, 2022


Vulnerability identifier: #VU20062
CSH Severity: Medium
CVSS v4: 9.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-0193
CWE-ID: CWE-749
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to DataImportHandler module in Apache Solr has a feature in which the whole DIH configuration can come from a request's "dataConfig" parameter. The debug mode of the DIH admin screen uses this to allow convenient debugging / development of a DIH config. A remote attacker can send a specially crafted reuqest to the affected application and execute arbitrary code on the target system.



Affected software

Apache Solr
Ubuntu
liblucene3-contrib-java (Ubuntu package)
liblucene3-java (Ubuntu package)
libsolr-java (Ubuntu package)

How to mitigate CVE-2019-0193

Install updates from vendor's website.

Apache Solr - update to 8.2.0
liblucene3-contrib-java (Ubuntu package) - addressed in versions Ubuntu Pro, liblucene3-java
liblucene3-java (Ubuntu package) - update to Ubuntu Pro
libsolr-java (Ubuntu package) - update to Ubuntu Pro

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins