CVE-2018-1308
There is a XML external entity expansion (XXE) vulnerability in Apache Solr
Reported by apache · Published April 9, 2018
This vulnerability in Apache Solr 1.2 to 6.6.2 and 7.0.0 to 7.2.1 relates to an XML external entity expansion (XXE) in the `&dataConfig=<inlinexml>` parameter of Solr's DataImportHandler. It can be used as XXE using file/ftp/http protocols in order to read arbitrary local files from the Solr server or the internal network.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| lucene-solr | Ubuntu:Pro:14.04:LTS | 3.6.2+dfsg-2ubuntu0.1~esm2 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Solr | 1.2 to 6.6.2, 7.0.0 to 7.2.1 |
| Apache Software Foundation | Apache Solr | 1.2, 7.0.0 |
Timeline
- Apr 9, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Jun 1, 2026 Security Advisory (2 in total, the first dated here)
- Jun 17, 2026 CVE Updated
- Sep 25, 2026 Coalition ESS Score
- Oct 31, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-1308
vulnetix vdb fixes CVE-2018-1308
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-2018-1308/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- DSA-4194 vendor-advisoryx_refsource_DEBIAN
- [debian-lts-announce] 20180424 [SECURITY] [DLA 1360-1] lucene-solr security update mailing-listx_refsource_MLIST
- [www-announce] 20180408 [SECURITY] CVE-2018-1308: XXE attack through Apache Solr's DIH's dataConfig request parameter mailing-listx_refsource_MLIST
- x_refsource_CONFIRM
- [lucene-solr-user] 20190104 Re: SOLR v7 Security Issues Caused Denial of Use - Sonatype Application Composition Report mailing-listx_refsource_MLIST