XML external entity expansion in org.apache.solr:solr-core
Medium5.5CVE-2018-8026 · Published Oct 17, 2018 · updated Mar 4, 2024
This vulnerability in Apache Solr 6.0.0 to 6.6.4 and 7.0.0 to 7.3.1 relates to an XML external entity expansion (XXE) in Solr config files (currency.xml, enumsConfig.xml referred from schema.xml, TIKA parsecontext config file). 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. The manipulated files can be uploaded as configsets using Solr's API, allowing to exploit that vulnerability.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| org.apache.solr:solr-core Maven | >= 7.0.0, < 7.4.0 | 7.4.0 |
| >= 6.0.0, < 6.6.5 | 6.6.5 |
Details and references
- CVSS 3.0
- CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-611
- Also known as
- CVE-2018-8026
- nvd.nist.gov/vuln/detail/CVE-2018-8026
- github.com/apache/lucene-solr/commit/1880d4824e6c5f98170b9a00aad1d437ee2aa12
- github.com/apache/lucene-solr/commit/3aa6086ed99fa7158d423dc7c33dae6da466b09
- github.com/apache/lucene-solr/commit/d1baf6ba593561f39e2da0a71a8440797005b55
- github.com/apache/lucene-solr/commit/e5407c5a9710247e5f728aae36224a245a51f0b
- github.com/advisories/GHSA-7px3-6f6g-hxcj
- issues.apache.org/jira/browse/SOLR-12450
- mail-archives.apache.org/mod_mbox/lucene-solr-user/201807.mbox/%3C0cdc01d413b7%24f97ba580%24ec72f080%24%40apache.org%3E
- security.netapp.com/advisory/ntap-20190307-0002
More Apache Solr advisories
All Apache Solr| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Mar 142019 | Server-Side Request Forgery (SSRF) in org.apache.solr:solr-core | High7.5 | 7.7.0 |
| Mar 142019 | Critical severity vulnerability that affects org.apache.solr:solr-core | Critical9.8 | 7.0.0 |
| Oct 182018 | Improper Limitation of a Pathname ('Path Traversal') in org.apache.solr:solr-core | High7.5 | 5.5.4+1 more |
| Oct 172018 | Remote code execution occurs in Apache Solr | Critical9.8 | 5.5.5+2 more |
| Oct 172018 | There is a XML external entity expansion (XXE) vulnerability in Apache Solr config files | Medium5.5 | 6.6.4+1 more |
| Oct 172018 | There is a XML external entity expansion (XXE) vulnerability in Apache Solr | High7.5 | 6.6.3+1 more |