CVE-2019-0193: Apache Solr DataImportHandler Code Injection Vulnerability

Published Aug 1, 2019
·
Updated

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.

Other sources

The optional Apache Solr module DataImportHandler contains a code injection vulnerability.

CISA

Affected Software

8 affected componentsFixes available
Apache Solr<8.2.0
maven/org.apache.solr:solr-core<8.2.0
8.2.0
Apache Solr
debian/lucene-solr
3.6.2+dfsg-243.6.2+dfsg-26
Apache Solr<7.7.3
Apache Solr>=8.1.0<8.1.2
Debian Debian Linux=8.0
Debian Debian Linux=9.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.apache.solr:solr-core to a version that resolves this vulnerability.

    Fixed in 8.2.0
  2. Upgrade

    Upgrade debian/lucene-solr to a version that resolves this vulnerability.

    Fixed in 3.6.2+dfsg-24Fixed in 3.6.2+dfsg-26
  3. Upgrade

    Upgrade debian/lucene-solr to a version that resolves this vulnerability.

    Fixed in 3.6.2+dfsg-24
  4. Upgrade

    Upgrade debian/lucene-solr to a version that resolves this vulnerability.

    Fixed in 3.6.2+dfsg-26
  5. Configuration

    Set the Java system property 'enable.dih.dataConfigParam' to true (for example, add -Denable.dih.dataConfigParam=true to the Solr JVM startup options) to require explicit enabling of the dataConfig request parameter.

    Apache Solr (DataImportHandler) enable.dih.dataConfigParam = true

Event History

Aug 1, 2019
CVE Published
via MITRE·01:48 PM
Data Sourced
via MITRE·01:48 PM
DescriptionWeakness
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·07:17 PM
Dec 10, 2021
Known Exploited
via CISA·12:00 AM
Feb 25, 2025
Data Sourced
via Launchpad·12:47 AM
Description
Mar 1, 2025
Data Sourced
via Ubuntu·12:47 AM
RemedyDescriptionSeverityAffected Software
Sep 20, 58448
Event
via GitHub·03:38 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2019-0193?

CVE-2019-0193 is a code injection vulnerability in Apache Solr's DataImportHandler.

2

How does the DataImportHandler vulnerability in Apache Solr work?

The vulnerability allows an attacker to inject malicious code through the "dataConfig" parameter of a request to the DataImportHandler.

3

What is the severity rating of CVE-2019-0193?

CVE-2019-0193 has a severity rating of 7.2, which is considered critical.

4

Which software versions are affected by CVE-2019-0193?

Apache Solr versions up to 8.2.0 are affected by CVE-2019-0193.

5

How can I fix the DataImportHandler vulnerability in Apache Solr?

To fix the vulnerability, update Apache Solr to a version that is not affected by CVE-2019-0193.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203