XXE in Apache Solr
CVE-2018-8010
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.
Vulnerability class: XXE (XML External Entity)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.037, 89.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Apache Solr
- Apache Software Foundation Solr — versions Apache Solr 6.0.0 to 6.6.3, 7.0.0 to 7.3.0
Weakness classification (CWE)
References
- mail-archives.apache.org/mod_mbox/www-announce/201805.mbox/<08a801d3f0f9$df46d3… (Mailing List, Mitigation, Vendor Advisory)
- www.securityfocus.com/bid/104239 (Third Party Advisory, VDB Entry, vdb-entry)
- [lucene-solr-user] 20200320 CVEs (vulnerabilities) that apply to Solr 8.4.1 (mailing-list)