XML external entity injection in Apache Solr
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and GitHub. Impact type from CWE-611 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Solr | 6.0.0 to 6.6.4; 7.0.0 to 7.3.1 | — | No fix listed | CNA |
| — | org.apache.solr:solr-core (Maven) | 7.0.0 to before 7.4.0 | 7.4.0 | Patch available | GHSA-7px3-6f6g-hxcj |
| — | org.apache.solr:solr-core (Maven) | 6.0.0 to before 6.6.5 | 6.6.5 | Patch available | GHSA-7px3-6f6g-hxcj |
- Apache Solr VendorApache Affected 6.0.0 to 6.6.4; 7.0.0 to 7.3.1 Fixed in — No fix listed CNA
- org.apache.solr:solr-core (Maven) Vendor— Affected 7.0.0 to before 7.4.0 Fixed in 7.4.0 Patch available GHSA-7px3-6f6g-hxcj
- org.apache.solr:solr-core (Maven) Vendor— Affected 6.0.0 to before 6.6.5 Fixed in 6.6.5 Patch available GHSA-7px3-6f6g-hxcj
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:apache:solr:*:*:*:*:*:*:*:* | after 6.0.0, up to 6.6.4; 7.0.0 – 7.3.1 | Vulnerable | Apache |
| cpe:2.3:a:netapp:snapcenter:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
| cpe:2.3:a:netapp:storage_automation_store:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
- cpe:2.3:a:apache:solr:*:*:*:*:*:*:*:* Versions after 6.0.0, up to 6.6.4; 7.0.0 – 7.3.1 Vulnerable ·Apache
- cpe:2.3:a:netapp:snapcenter:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
- cpe:2.3:a:netapp:storage_automation_store:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
Remediation
- Fix · GHSA-7px3-6f6g-hxcj org.apache.solr:solr-core (Maven) Fixed in 7.4.0 Advisory →
- Fix · GHSA-7px3-6f6g-hxcj org.apache.solr:solr-core (Maven) Fixed in 6.6.5 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 8 products
- JBoss Developer Studio 11
- Red Hat Fuse 7
- Red Hat JBoss Data Grid 6
- Red Hat JBoss Data Virtualization 6
- Red Hat JBoss Enterprise Application Platform 6
- Red Hat JBoss Fuse 6
- Red Hat JBoss Fuse Service Works 6
- Red Hat Virtualization 4
Timeline
- 2026-10-02 Threatist record created from CVE-2018-8026
- 2026-10-03 Alias added: GHSA-7px3-6f6g-hxcj
References
Advisory 4
- https://security.netapp.com/advisory/ntap-20190307-0002/
- [lucene-solr-user] 20180704 [SECURITY] CVE-2018-8026: XXE vulnerability due to Apache Solr configset upload (exchange rate provider config / enum field config / TIKA parsecontext)
- https://nvd.nist.gov/vuln/detail/CVE-2018-8026
- https://github.com/advisories/GHSA-7px3-6f6g-hxcj
Other 5
- https://github.com/apache/lucene-solr/commit/1880d4824e6c5f98170b9a00aad1d437ee2aa12
- https://github.com/apache/lucene-solr/commit/3aa6086ed99fa7158d423dc7c33dae6da466b09
- https://github.com/apache/lucene-solr/commit/d1baf6ba593561f39e2da0a71a8440797005b55
- https://github.com/apache/lucene-solr/commit/e5407c5a9710247e5f728aae36224a245a51f0b
- https://security.netapp.com/advisory/ntap-20190307-0002
More Apache Solr vulnerabilities
- TI-2024-30303 Apache Solr: Authentication bypass possible using a fake URL Path ending CVSS 3.1CRITICAL 9.8
- TI-2019-13101 Injection in Apache Solr KEVCVSS 3.1HIGH 7.5
- TI-2019-00170 Code injection in Apache Solr KEVCVSS 3.1HIGH 7.2
- TI-2023-23979 The HTTP/2 protocol allows a denial of service (server resource consumption) because… KEVCVSS 3.1HIGH 7.5
- TI-2021-09240 SSRF vulnerability with the Replication handler CVSS 3.1CRITICAL 9.8
- TI-2017-09354 XML external entity injection in Apache Solr before 7.1 with Apache Lucene before 7.1 CVSS 3.1CRITICAL 9.8
Sources
- CVE-2018-8026 · CVE Program
- CVE-2018-8026 · NVD
- FIRST EPSS
- GHSA-7px3-6f6g-hxcj · GitHub Advisory Database · CC BY 4.0
- CVE-2018-8026 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences