ID CVE-2018-8010
Summary 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.
References
Vulnerable Configurations
  • cpe:2.3:a:apache:solr:6.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:6.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:6.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:6.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:6.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:6.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:6.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:6.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:6.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:6.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:6.3.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:6.3.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:6.4.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:6.4.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:6.4.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:6.4.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:6.4.2:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:6.4.2:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:6.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:6.5.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:6.5.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:6.5.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:6.6.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:6.6.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:6.6.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:6.6.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:6.6.2:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:6.6.2:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:6.6.3:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:6.6.3:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:7.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:7.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:7.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:7.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:7.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:7.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:7.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:7.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:7.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:7.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:7.3.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:7.3.0:*:*:*:*:*:*:*
CVSS
Base: 2.1 (as of 20-03-2020 - 16:15)
Impact:
Exploitability:
CWE CWE-611
CAPEC
  • XML External Entities Blowup
    This attack takes advantage of the entity replacement property of XML where the value of the replacement is a URI. A well-crafted XML document could have the entity refer to a URI that consumes a large amount of resources to create a denial of service condition. This can cause the system to either freeze, crash, or execute arbitrary code depending on the URI.
Access
VectorComplexityAuthentication
LOCAL LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL NONE NONE
cvss-vector via4 AV:L/AC:L/Au:N/C:P/I:N/A:N
refmap via4
bid 104239
misc https://mail-archives.apache.org/mod_mbox/www-announce/201805.mbox/%3C08a801d3f0f9%24df46d300%249dd47900%24%40apache.org%3E
mlist
  • [lucene-solr-user] 20200320 CVEs (vulnerabilities) that apply to Solr 8.4.1
  • [lucene-solr-user] 20200320 Re: CVEs (vulnerabilities) that apply to Solr 8.4.1
Last major update 20-03-2020 - 16:15
Published 21-05-2018 - 19:29
Last modified 20-03-2020 - 16:15
Back to Top