CVE Catalog

Actively exploited in the wild

Apache Solr DataImportHandler Code Injection Vulnerability

Apache - Solr · Listed in the CISA KEV since 2021-12-10. This indicates confirmed attacks in production environments.

Required action: Apply updates per vendor instructions.

CVE-2019-0193

HighCVSS 7.2KEV
Published: Updated: Translated: NVD NIST

Summary

In Apache Solr, the DataImportHandler (DIH) has a feature where the entire DIH configuration can come from a request's 'dataConfig' parameter. The debug mode of the DIH admin screen uses this, which is a security risk since a DIH config can contain scripts. Starting with Solr 8.2.0, use of this parameter requires setting the Java System property 'enable.dih.dataConfigParam' to true.

Risk Assessment

An attacker could exploit the 'dataConfig' parameter to inject a malicious DIH configuration containing scripts, potentially leading to remote code execution on the Solr server.

Recommendation

Update Apache Solr to version 8.2.0 or later, and if not possible, disable DIH debug mode and restrict access to the admin interface.

Other vulnerabilities in Apache Solr

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS