CVE-2019-0193
XML External Entity (XXE) Injection in Apache Solr
Reported by apache · Published August 1, 2019
solr-core is fixed in 8.2.0 (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.apache.solr:solr-core | Maven Central | 8.2.0 |
| lucene-solr | Ubuntu:Pro:16.04:LTS | 3.6.2+dfsg-8ubuntu0.1+esm1 |
| solr | apache | 8.1.2, 7.7.3 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Apache | Apache Solr | Apache Solr all prior to 8.2.0 |
| Apache | Apache Solr | 8.2.0 |
| Maven | org.apache.solr:solr-core | 0 |
Timeline
- Aug 1, 2019 CVE Published
- Aug 9, 2019 VulnCheck XDB Entry (5 in total, the first dated here)
- Dec 16, 2019 PoC Published (64 in total, the first dated here)
- Jan 16, 2020 VulnCheck KEV Exploitation (182 in total, the first dated here)
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Dec 10, 2021 CISA KEV Added
- Mar 6, 2026 Distribution Patch
- Mar 6, 2026 Security Advisory (2 in total, the first dated here)
- Sep 18, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-0193
vulnetix vdb fixes CVE-2019-0193
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-0193/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- [debian-lts-announce] 20191010 [SECURITY] [DLA 1954-1] lucene-solr security update mailing-listx_refsource_MLIST
- [lucene-issues] 20191025 [jira] [Updated] (SOLR-13873) Is there any fix for CVE-2019-0193 issue for solr 7.7.1 mailing-listx_refsource_MLIST
- [lucene-issues] 20191025 [jira] [Created] (SOLR-13873) Is there any fix for CVE-2019-0193 issue for solr 7.7.1 mailing-listx_refsource_MLIST
- [lucene-issues] 20191025 [jira] [Resolved] (SOLR-13873) Is there any fix for CVE-2019-0193 issue for solr 7.7.1 mailing-listx_refsource_MLIST
- [lucene-issues] 20191025 [jira] [Commented] (SOLR-13669) [CVE-2019-0193] Remote Code Execution via DataImportHandler mailing-listx_refsource_MLIST
- [lucene-issues] 20191025 [jira] [Commented] (SOLR-13873) Is there any fix for CVE-2019-0193 issue for solr 7.7.1 mailing-listx_refsource_MLIST
- [nifi-commits] 20191113 svn commit: r1869773 - /nifi/site/trunk/security.html mailing-listx_refsource_MLIST
- [lucene-issues] 20191129 [jira] [Commented] (SOLR-13669) [CVE-2019-0193] Remote Code Execution via DataImportHandler mailing-listx_refsource_MLIST
- [lucene-issues] 20191130 [jira] [Resolved] (SOLR-13669) [CVE-2019-0193] Remote Code Execution via DataImportHandler mailing-listx_refsource_MLIST
- [lucene-issues] 20191130 [jira] [Closed] (SOLR-13669) [CVE-2019-0193] Remote Code Execution via DataImportHandler mailing-listx_refsource_MLIST
- [nifi-commits] 20200123 svn commit: r1873083 - /nifi/site/trunk/security.html mailing-listx_refsource_MLIST
- [lucene-dev] 20200213 Re: 7.7.3 bugfix release mailing-listx_refsource_MLIST
- [lucene-dev] 20200214 Re: 7.7.3 bugfix release mailing-listx_refsource_MLIST
- [lucene-issues] 20200218 [jira] [Updated] (SOLR-13669) [CVE-2019-0193] Remote Code Execution via DataImportHandler mailing-listx_refsource_MLIST
- [lucene-issues] 20200218 [jira] [Commented] (SOLR-13669) [CVE-2019-0193] Remote Code Execution via DataImportHandler mailing-listx_refsource_MLIST
- [debian-lts-announce] 20200816 [SECURITY] [DLA 2327-1] lucene-solr security update mailing-listx_refsource_MLIST
- [submarine-commits] 20201209 [GitHub] [submarine] QiAnXinCodeSafe opened a new issue #474: There is a vulnerability in Apache Solr 5.5.4,upgrade recommended mailing-listx_refsource_MLIST
- [druid-commits] 20210324 [GitHub] [druid] jihoonson opened a new pull request #11030: Suppress cves mailing-listx_refsource_MLIST
- [solr-users] 20210618 CVE-2021-27905 Apache Solr ReplicationHandler/SSRF vulnerability mailing-listx_refsource_MLIST
…and 27 more