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.038 (89.6th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 90th percentile — 89.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2018-8010: held from 0.039 to 0.038.

EPSS over last 30 days · oldest: 0.039 · newest: 0.038 · change: -0.001

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2018-8010?
CVE-2018-8010 is a medium-severity vulnerability in Apache Solr, classified under Improper Restriction of XML External Entity Reference (XXE). CVSS score: 5.5/10. Published 2018-05-21.
How severe is CVE-2018-8010?
Medium severity. CVSS v3 base score is 5.5 out of 10.