7.2High KEV

CVE-2019-0193Apache Solr DataImportHandler Code Injection Vulnerability

Apache Apache Solr Published: (7 years ago)

Known exploited — Apache Solr DataImportHandler Code Injection Vulnerability

CISA confirmed this vulnerability is used in real attacks on 10.12.2021. Remediation deadline for US federal agencies: 10.06.2022.

Required action: Apply updates per vendor instructions. https://nvd.nist.gov/vuln/detail/CVE-2019-0193

Description

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.

Weakness (CWE): CWE-94

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Apache Apache Solr Apache Solr all prior to 8.2.0
apache solr < 7.7.3
debian debian linux 8.0

References and patches

CPE matches (NVD) (4)

  • cpe:2.3:a:apache:solr:*:*:*:*:*:*:*:* < 7.7.3
  • cpe:2.3:a:apache:solr:*:*:*:*:*:*:*:* ≥ 8.1.0 < 8.1.2
  • cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*