Skip to content
OpenAdvisories
High · 7.2 Known exploited Scanner template Public exploit CVE-2019-0193 EUVD-2019-0615GHSA-3gm7-v7vw-866c

XML External Entity (XXE) Injection in Apache Solr

Published Aug 1, 2019 · Updated Oct 21, 2025 · Assigned by apache

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.

Affected products

VendorProductAffectedFixed
Apache Apache Solr Apache Solr all prior to 8.2.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 lucene-solr 3.6.2+dfsg-22 —
Debian 13 lucene-solr 3.6.2+dfsg-22 —
Debian 12 lucene-solr 3.6.2+dfsg-22 —
Debian 9 lucene-solr 3.6.2+dfsg-10+deb9u3 DLA-2327-1
Debian 8 lucene-solr 3.6.2+dfsg-5+deb8u3 DLA-1954-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS lucene-solr 3.6.2+dfsg-18~18.04.1~esm2 USN-7283-1
Ubuntu Pro 16.04 LTS lucene-solr 3.6.2+dfsg-8ubuntu0.1+esm1 USN-7283-1
Ubuntu Pro 14.04 LTS lucene-solr 3.6.2+dfsg-2ubuntu0.1~esm4 USN-7283-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 5 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.solr:solr-core < 8.2.0 8.2.0 GHSA-3gm7-v7vw-866c

Advisories 3

References