solr: XML external entity expansion in config files allows attackers to read arbitrary files
Published May 21, 2018
6.5
MEDIUMCVSS 3.0
EPSS 3.78%
Description
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.
Affected products
-
- Version Apache Solr 6.0.0 to 6.6.3, 7.0.0 to 7.3.0StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Apache Software Foundation | Apache Solr | n/a |
|
No data.
JBoss Developer Studio 11
solr-core
Will not fix
Red Hat Fuse 7
camel
Not affected
Red Hat JBoss Data Grid 6
solr-core
Will not fix
Red Hat JBoss Data Virtualization 6
solr-core
Not affected
Red Hat JBoss Enterprise Application Platform 6
solr-core
Not affected
Red Hat JBoss Fuse 6
camel
Not affected
Red Hat JBoss Fuse Integration Service 2
solr
Not affected
Red Hat JBoss Fuse Service Works 6
solr-core
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| JBoss Developer Studio 11 | solr-core | Will not fix | n/a |
| Red Hat Fuse 7 | camel | Not affected | n/a |
| Red Hat JBoss Data Grid 6 | solr-core | Will not fix | n/a |
| Red Hat JBoss Data Virtualization 6 | solr-core | Not affected | n/a |
| Red Hat JBoss Enterprise Application Platform 6 | solr-core | Not affected | n/a |
| Red Hat JBoss Fuse 6 | camel | Not affected | n/a |
| Red Hat JBoss Fuse Integration Service 2 | solr | Not affected | n/a |
| Red Hat JBoss Fuse Service Works 6 | solr-core | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
AV:L/AC:L/Au:N/C:P/I:N/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (23 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.78% (0.03778) | 89.61th | v5 (v2026.06.15) |
| Sep 22, 2026 | 3.92% (0.03917) | 89.85th | v5 (v2026.06.15) |
| Sep 21, 2026 | 1.26% (0.01262) | 67.86th | v5 (v2026.06.15) |
| Sep 6, 2026 | 3.92% (0.03917) | 89.62th | v5 (v2026.06.15) |
| Sep 5, 2026 | 1.26% (0.01262) | 67.22th | v5 (v2026.06.15) |
| Aug 30, 2026 | 3.92% (0.03917) | 89.56th | v5 (v2026.06.15) |
| Aug 28, 2026 | 1.26% (0.01262) | 67.04th | v5 (v2026.06.15) |
| Aug 24, 2026 | 3.92% (0.03917) | 89.50th | v5 (v2026.06.15) |
| Aug 23, 2026 | 1.26% (0.01262) | 66.91th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.92% (0.03917) | 88.92th | v5 (v2026.06.15) |
| Nov 21, 2025 | 1.58% (0.01584) | 81.03th | v4 (v2025.03.14) |
| Nov 18, 2025 | 0.43% (0.00427) | 59.68th | v4 (v2025.03.14) |
| Jul 1, 2025 | 1.73% (0.01726) | 81.64th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.60% (0.00602) | 67.68th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.09% (0.00089) | 39.65th | v3 (v2023.03.01) |
| Jun 22, 2024 | 0.09% (0.00089) | 38.23th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.09% (0.00089) | 36.22th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.10% (0.00104) | 41.77th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.09% (0.00089) | 36.24th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.16% (0.01164) | 61.38th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.16% (0.01164) | 34.94th | v2 (v2022.01.01) |
| Feb 3, 2022 | 3.06% (0.03065) | 65.11th | v5 (v2026.06.15) |
| Apr 14, 2021 | 3.06% (0.03065) | 0.00th | v1 |
References (15)
- http://www.openwall.com/lists/oss-security/2018/05/21/4
- http://www.securityfocus.com/bid/104239 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2018-8010 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1581037 Issue Tracking
- https://github.com/advisories/GHSA-rc9v-h28f-jcmf Advisory
- https://github.com/apache/lucene-solr/commit/4ba409e0ff3dc38aad88f7b7ad69a76325272b8
- https://github.com/apache/lucene-solr/commit/6c4e45e28494d4d4d04fb89852d18c86fa3d5f8
- https://github.com/apache/lucene-solr/commit/6d082d5743dee7e08a86b3f2ef03bc025112512
- https://github.com/apache/lucene-solr/commit/96f079b4b47eaadff65c7aaf0e5bafe68e30ec3
- https://issues.apache.org/jira/browse/SOLR-12316
- https://lists.apache.org/thread.html/r204ba2a9ea750f38d789d2bb429cc0925ad6133deea7cbc3001d96b5%40%3Csolr-user.lucene.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/r204ba2a9ea750f38d789d2bb429cc0925ad6133deea7cbc3001d96b5@%3Csolr-user.lucene.apache.org%3E
- https://mail-archives.apache.org/mod_mbox/www-announce/201805.mbox/%3C08a801d3f0f9%24df46d300%249dd47900%24%40apache.org%3E x_refsource_MISCMailing ListMitigationVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-8010
- https://www.cve.org/CVERecord?id=CVE-2018-8010
Change history (0)
No recorded changes yet.