CVE-2018-8010 json
There is a XML external entity expansion (XXE) vulnerability in Apache Solr config files
published 2018-05-21 8 y ago modified 2026-06-17 4 mo ago also GHSA-rc9v-h28f-jcmf , EUVD-2018-0681
- cvss
- 5.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.7%
- EPSS 3.7% chance of exploitation in 30 days, percentile 89%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.apache.solr:solr-core 6.6.4, 7.3.1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-8010 updated cvss 6.5
solr: XML external entity expansion in config files allows attackers to read arbitrary files
-
Red Hat JBoss Developer Studio 11 solr-core solr-core Red Hat JBoss Data Grid 6 solr-core solr-core Red Hat JBoss Fuse Service Works 6 solr-core solr-coreaffected: no fix planned “Will not fix”
-
Red Hat Fuse 7 camel Red Hat JBoss Data Virtualization 6 solr-core solr-core Red Hat JBoss Enterprise Application Platform 6 solr-core solr-core Red Hat JBoss Fuse 6 camel Red Hat JBoss Fuse Integration Service 2 solr solrnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.71% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 5.5 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 2.1 | AV:L/AC:L/Au:N/C:P/I:N/A:N |
| GitHub | 3.0 | 5.5 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.solr:solr-core | >=6.6.0, <6.6.4 >=7.0.0, <7.3.1 |
6.6.4 7.3.1 |
Affected products
- Apache Software Foundation Apache Solr
Classification
- Weakness
-
- CWE-611 Improper Restriction of XML External Entity Reference
References
-
github.com
/apache/lucene-solr/commit/4ba409e0ff3dc38aad88f7b7ad69a76325272b8
web
-
github.com
/apache/lucene-solr/commit/6c4e45e28494d4d4d04fb89852d18c86fa3d5f8
web
-
github.com
/apache/lucene-solr/commit/6d082d5743dee7e08a86b3f2ef03bc025112512
web
-
github.com
/apache/lucene-solr/commit/96f079b4b47eaadff65c7aaf0e5bafe68e30ec3
web
-
mail-archives.apache.org
/mod_mbox/www-announce/201805.mbox/%3C08a801d3f0f9%24df46d300%249dd47900%24%40apache.org%3E
web, mailing-list, mitigation, vendor-advisory
-
securityfocus.com
/bid/104239
vdb-entry, web, third-party-advisory
-
lists.apache.org
/thread.html/r204ba2a9ea750f38d789d2bb429cc0925ad6133deea7cbc3001d96b5%40%3Csolr-user.lucene.apache.org%3E
mailing-list
-
nvd.nist.gov
/vuln/detail/CVE-2018-8010
advisory
-
github.com
/advisories/GHSA-rc9v-h28f-jcmf
advisory
-
issues.apache.org
/jira/browse/SOLR-12316
web
-
lists.apache.org
/thread.html/r204ba2a9ea750f38d789d2bb429cc0925ad6133deea7cbc3001d96b5@%3Csolr-user.lucene.apache.org%3E
web
Sources
- CVE List CVE-2018-8010
- GitHub Advisory GHSA-rc9v-h28f-jcmf
- NVD CVE-2018-8010
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.