CVE-2019-0193
Apache Solr DataImportHandler Code Injection Vulnerability
Apache Solr
In Apache Solr, the DataImportHandler, an optional but popular module to pull in data from databases and other sources, 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. Since a DIH config can contain scripts, this parameter is a security risk. Starting with version 8.2.0 of Solr, use of this parameter requires setting the Java System property "enable.dih.dataConfigParam" to true.
Exploitation status
CISA Known Exploited Vulnerabilities
Listed by CISA on 10 December 2021. US federal agencies were required to remediate it by 10 June 2022.
EPSS — exploitation probability
FIRST puts the probability of exploitation activity in the next 30 days at 83.5%, which is higher than 99.7% of all scored vulnerabilities. EPSS is a forecast of activity, not a measure of severity, and it is rescored daily.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Frequently asked questions
Is CVE-2019-0193 being exploited by ransomware groups?
No ransomware group in this database is currently recorded as exploiting CVE-2019-0193.
What does CVE-2019-0193 affect?
CVE-2019-0193 affects Apache Solr. In Apache Solr, the DataImportHandler, an optional but popular module to pull in data from databases and other sources, 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. Since a DIH config can contain scripts, this parameter is a security risk. Starting with version 8.2.0 of Solr, use of this parameter requires setting the Java System property "enable.dih.dataConfigParam" to true.
How severe is CVE-2019-0193?
CVE-2019-0193 is rated HIGH with a CVSS base score of 7.2. EPSS puts the probability of exploitation in the next 30 days at 83.5%, higher than 99.7% of all scored vulnerabilities. It is listed in the CISA Known Exploited Vulnerabilities catalog, with a federal remediation deadline of 10 June 2022.
How should organisations respond to CVE-2019-0193?
Apply the vendor patch for Apache Solr as the first priority, and treat any internet-facing instance as the most urgent. Because this vulnerability is associated with ransomware activity, also review whether the affected systems were reachable before patching, rather than assuming that patching alone closes the incident.