Skip to content

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

MediumCVSS 5.5 EPSS 3.7%
Published
Updated
Exploit status
No public exploit known
Technology
Debian

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
apache solr >= 6.0.0, <= 6.6.3; >= 7.0.0, <= 7.3.0 after 6.6.3, 7.3.0 Fixed
org.apache.solr/solr-core(Maven) = 6.6.0; = 6.6.1; = 6.6.2; = 6.6.3 +8 more 6.6.4, 7.3.1 Fixed
Apache Solr = Apache Solr 6.0.0 to 6.6.3, 7.0.0 to 7.3.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
org.apache.solr/solr-core(Maven) >= 6.6.0, < 6.6.4 6.6.4
org.apache.solr/solr-core(Maven) = 6.6.0 No fix listed
org.apache.solr/solr-core(Maven) = 6.6.1 No fix listed
org.apache.solr/solr-core(Maven) = 6.6.2 No fix listed
org.apache.solr/solr-core(Maven) = 6.6.3 No fix listed
org.apache.solr/solr-core(Maven) >= 7.0.0, < 7.3.1 7.3.1
org.apache.solr/solr-core(Maven) = 7.0.0 No fix listed
org.apache.solr/solr-core(Maven) = 7.0.1 No fix listed
org.apache.solr/solr-core(Maven) = 7.1.0 No fix listed
org.apache.solr/solr-core(Maven) = 7.2.0 No fix listed
org.apache.solr/solr-core(Maven) = 7.2.1 No fix listed
org.apache.solr/solr-core(Maven) = 7.3.0 No fix listed
apache solr >= 6.0.0, <= 6.6.3 No fix listed
apache solr >= 7.0.0, <= 7.3.0 No fix listed
Apache Solr = Apache Solr 6.0.0 to 6.6.3, 7.0.0 to 7.3.0 No fix listed

References