CVE-2018-1308
HIGH 7.5CVSS 3.0There is a XML external entity expansion (XXE) vulnerability in Apache Solr
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.
- Published
- 9 Apr 2018
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-611
- Also known as
- GHSA-3pph-2595-cgfh
- Sources
- NVDJSONOSV GHSA-3pph-2595-cgfhJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | solrcpe:2.3:a:apache:solr:*:*:*:*:*:*:*:* |
>= 1.2, <= 6.6.2 | |
| NVD | apache | solrcpe:2.3:a:apache:solr:*:*:*:*:*:*:*:* |
>= 7.0.0, <= 7.2.1 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| OSV | Maven | org.apache.solr:solr-core | >= 1.2, < 6.6.3 | 6.6.3 |
| OSV | Maven | org.apache.solr:solr-core | >= 7.0.0, < 7.3.0 | 7.3.0 |
References
- https://issues.apache.org/jira/browse/SOLR-11971 · Issue Tracking, Third Party Advisory, WEB
- https://lists.apache.org/thread.html/708d94141126eac03011144a971a6411fcac16d9c248d1d535a39451%40%3Csolr-user.lucene.apache.org%3E
- https://lists.debian.org/debian-lts-announce/2018/04/msg00025.html · Third Party Advisory, WEB
- https://mail-archives.apache.org/mod_mbox/www-announce/201804.mbox/%3C000001d3cf68%245ac69af0%241053d0d0%24%40apache.org%3E · Mitigation, Third Party Advisory, WEB
- https://www.debian.org/security/2018/dsa-4194 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-1308 · ADVISORY
- https://github.com/apache/lucene-solr/commit/3530397f1777332872eac2760f9aa0e2ae1d7450 · WEB
- https://github.com/apache/lucene-solr/commit/739a7933 · WEB
- https://github.com/apache/lucene-solr/commit/dd3be31f7062dcb2f3b2d7f0e89df29e197dee63 · WEB
- https://github.com/advisories/GHSA-3pph-2595-cgfh · ADVISORY
- https://lists.apache.org/thread.html/708d94141126eac03011144a971a6411fcac16d9c248d1d535a39451@%3Csolr-user.lucene.apache.org%3E · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 9 Apr 2018)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 Oct 2018)