Exposed dangerous method or function in Apache Solr - CVE-2019-0193
Published: August 13, 2019 / Updated: February 20, 2022
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
Ubuntu
libsolr-java (Ubuntu package)
liblucene3-contrib-java (Ubuntu package)
liblucene3-java (Ubuntu package)
How to mitigate CVE-2019-0193
libsolr-java (Ubuntu package) - addressed in versions 3.6.2+dfsg-2ubuntu0.1~esm4, 3.6.2+dfsg-8ubuntu0.1+esm1, 3.6.2+dfsg-18~18.04.1~esm2
liblucene3-contrib-java (Ubuntu package) - addressed in versions 3.6.2+dfsg-2ubuntu0.1~esm4, 3.6.2+dfsg-8ubuntu0.1+esm1, 3.6.2+dfsg-18~18.04.1~esm2
liblucene3-java (Ubuntu package) - addressed in versions 3.6.2+dfsg-2ubuntu0.1~esm4, 3.6.2+dfsg-8ubuntu0.1+esm1, 3.6.2+dfsg-18~18.04.1~esm2