CVE-2018-8010
MEDIUM 5.5CVSS 3.0There is a XML external entity expansion (XXE) vulnerability in Apache Solr config files
This vulnerability in Apache Solr 6.0.0 to 6.6.3, 7.0.0 to 7.3.0 relates to an XML external entity expansion (XXE) in Solr config files (solrconfig.xml, schema.xml, managed-schema). In addition, Xinclude functionality provided in these config files is also affected in a similar way. The vulnerability 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. Users are advised to upgrade to either Solr 6.6.4 or Solr 7.3.1 releases both of which address the vulnerability. Once upgrade is complete, no other steps are required. Those releases only allow external entities and Xincludes that refer to local files / zookeeper resources below the Solr instance directory (using Solr's ResourceLoader); usage of absolute URLs is denied. Keep in mind, that external entities and XInclude are explicitly supported to better structure config files in large installations. Before Solr 6 this was no problem, as config files were not accessible through the APIs.
- Published
- 21 May 2018
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-611
- Also known as
- GHSA-rc9v-h28f-jcmf
- Sources
- NVDJSONOSV GHSA-rc9v-h28f-jcmfJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 5.5 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 5.5 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 2.1 | AV:L/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:*:*:*:*:*:*:*:* |
>= 6.0.0, <= 6.6.3 | |
| NVD | apache | solrcpe:2.3:a:apache:solr:*:*:*:*:*:*:*:* |
>= 7.0.0, <= 7.3.0 | |
| OSV | Maven | org.apache.solr:solr-core | >= 6.6.0, < 6.6.4 | 6.6.4 |
| OSV | Maven | org.apache.solr:solr-core | >= 7.0.0, < 7.3.1 | 7.3.1 |
References
- http://www.securityfocus.com/bid/104239 · Third Party Advisory, VDB Entry, WEB
- https://lists.apache.org/thread.html/r204ba2a9ea750f38d789d2bb429cc0925ad6133deea7cbc3001d96b5%40%3Csolr-user.lucene.apache.org%3E
- https://mail-archives.apache.org/mod_mbox/www-announce/201805.mbox/%3C08a801d3f0f9%24df46d300%249dd47900%24%40apache.org%3E · Mailing List, Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-8010 · ADVISORY
- https://github.com/apache/lucene-solr/commit/4ba409e0ff3dc38aad88f7b7ad69a76325272b8 · WEB
- https://github.com/apache/lucene-solr/commit/6c4e45e28494d4d4d04fb89852d18c86fa3d5f8 · WEB
- https://github.com/apache/lucene-solr/commit/6d082d5743dee7e08a86b3f2ef03bc025112512 · WEB
- https://github.com/apache/lucene-solr/commit/96f079b4b47eaadff65c7aaf0e5bafe68e30ec3 · WEB
- https://github.com/advisories/GHSA-rc9v-h28f-jcmf · ADVISORY
- https://issues.apache.org/jira/browse/SOLR-12316 · WEB
- https://lists.apache.org/thread.html/r204ba2a9ea750f38d789d2bb429cc0925ad6133deea7cbc3001d96b5@%3Csolr-user.lucene.apache.org%3E · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 21 May 2018)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 Oct 2018)