CVE-2017-12629

Aliases:GHSA-mh7g-99w9-xpjm
Advisory lineage Upstream: 0 Downstream: 12
Modified
Published: 14 Oct 2017, 21:00
Last modified:05 Aug 2024, 18:43

Vulnerability Summary

Overall Risk (default)
high
70/100
CVSS Score
9.8 CRITICAL
v3.1 (nvd)
EPSS Score
93.89% CRITICAL
94% probability +0.11%
KEV
Not listed
Ransomware
No reports
Public exploits
2 found
Dark Web
Not detected

Timeline

14 Oct 2017, 21:00
Published
Vulnerability first disclosed
05 Aug 2024, 18:43
Last Modified
Vulnerability information updated

Description

Remote code execution occurs in Apache Solr before 7.1 with Apache Lucene before 7.1 by exploiting XXE in conjunction with use of a Config API add-listener command to reach the RunExecutableListener class. Elasticsearch, although it uses Lucene, is NOT vulnerable to this. Note that the XML external entity expansion vulnerability occurs in the XML Query Parser which is available, by default, for any query request with parameters deftype=xmlparser and can be exploited to upload malicious data to the /upload request handler or as Blind XXE using ftp wrapper in order to read arbitrary local files from the Solr server. Note also that the second vulnerability relates to remote code execution using the RunExecutableListener available on all affected versions of Solr.

CVSS Metrics

  • v3.1CRITICALScore: 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • v2.0HIGHScore: 7.5AV:N/AC:L/Au:N/C:P/I:P/A:P

EPSS Trends

Current EPSS score: 93.89% Percentile: 100%

Techniques & Countermeasures

  • CWE-611Improper Restriction of XML External Entity Reference

    The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.

Affected Systems

  • UnknownSolr

    ≥ 5.5.0, ≤ 5.5.4 | ≥ 6.0.0, ≤ 6.6.1 | ≥ 7.0.0, ≤ 7.0.1

  • canonicalubuntu_linux

    16.04

  • debiandebian_linux

    7.0 | 8.0 | 9.0

  • org.apache.solrsolr-core

    ≥ 7.0.0, < 7.1.0 | ≥ 6.0.0, < 6.6.2 | ≥ 5.5.0, < 5.5.5

  • redhatjboss_enterprise_application_platform

    7.0.0 | 7.1.0

References (37)