CVE-2018-1308
publishedSolr: XML external entity expansion in handler/dataimport/DataImporter.java allows remote attackers to read arbitrary files
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache Solr1.2 to 6.6.2 · 7.0.0 to 7.2.1 | Affected | Not stated | apache |
| Debian | jessie | lucene-solr | Advisory build | 3.6.2+dfsg-5+deb8u2 | DSA-4194-1 |
| Debian | stretch | lucene-solr | Advisory build | 3.6.2+dfsg-10+deb9u2 | DSA-4194-1 |
| Debian | wheezy | lucene-solr | Advisory build | 3.6.0+dfsg-1+deb7u4 | DLA-1360-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Solr | 1.2 to 6.6.2 (affected)7.0.0 to 7.2.1 (affected) | apache · cna |
Weaknesses
1- Information Disclosure
References
5- https://issues.apache.org/jira/browse/SOLR-11971
- [lucene-solr-user] 20190104 Re: SOLR v7 Security Issues Caused Denial of Use - Sonatype Application Composition Report https://lists.apache.org/thread.html/708d94141126eac03011144a971a6411fcac16d9c248d1d535a39451%40%3Csolr-user.lucene.apache.org%3E
- [debian-lts-announce] 20180424 [SECURITY] [DLA 1360-1] lucene-solr security update https://lists.debian.org/debian-lts-announce/2018/04/msg00025.html
- [www-announce] 20180408 [SECURITY] CVE-2018-1308: XXE attack through Apache Solr's DIH's dataConfig request parameter https://mail-archives.apache.org/mod_mbox/www-announce/201804.mbox/%3C000001d3cf68%245ac69af0%241053d0d0%24%40apache.org%3E
- DSA-4194 https://www.debian.org/security/2018/dsa-4194
Provider assertions
2apache · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 11541ab8fdf893843b35dff665ce05dca1507fd6cf84928ecd571aecc2a42521
- Ingested
- 23 Sep 2026, 07:44:16 UTC
- Source record
- Official CVE record