Skip to content
Apache SolrGHSA-rc9v-h28f-jcmf

There is a XML external entity expansion (XXE) vulnerability in Apache Solr config files

Medium5.5CVE-2018-8010 · Published Oct 17, 2018 · updated Mar 4, 2024

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.

GitHub advisory

Affected versions

PackageAffectedFixed in
org.apache.solr:solr-core
Maven
>= 6.6.0, < 6.6.46.6.4
>= 7.0.0, < 7.3.17.3.1
Details and references

More Apache Solr advisories

All Apache Solr
Advisory
Server-Side Request Forgery (SSRF) in org.apache.solr:solr-core
High7.5Mar 14, 2019
Critical severity vulnerability that affects org.apache.solr:solr-core
Critical9.8Mar 14, 2019
Improper Limitation of a Pathname ('Path Traversal') in org.apache.solr:solr-core
High7.5Oct 18, 2018
Remote code execution occurs in Apache Solr
Critical9.8Oct 17, 2018
There is a XML external entity expansion (XXE) vulnerability in Apache Solr
High7.5Oct 17, 2018
XML external entity expansion in org.apache.solr:solr-core
Medium5.5Oct 17, 2018

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.