Back

CVE-2017-12629

CRITICAL

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.

Published: Oct 14, 2017 Modified: Jun 17, 2026
CWE-611

CVSS Metrics

CVSSv3
Attack Vector: NETWORK Attack Complexity: LOW Privileges Required: NONE User Interaction: NONE Scope: UNCHANGED Confidentiality Impact: HIGH Integrity Impact: HIGH Availability Impact: HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected Products (9)

Vendor Product Version
apache solr * ≥ 5.5.0
apache solr * ≥ 6.0.0
apache solr * ≥ 7.0.0
redhat jboss_enterprise_application_platform 7.0.0
redhat jboss_enterprise_application_platform 7.1.0
debian debian_linux 7.0
debian debian_linux 8.0
debian debian_linux 9.0
canonical ubuntu_linux 16.04

GitHub Security Advisory GHSA-mh7g-99w9-xpjm

Remote code execution occurs in Apache Solr

maven org.apache.solr:solr-core >= 7.0.0, < 7.1.0 Fixed: 7.1.0
maven org.apache.solr:solr-core >= 6.0.0, < 6.6.2 Fixed: 6.6.2
maven org.apache.solr:solr-core >= 5.5.0, < 5.5.5 Fixed: 5.5.5

Risk Scores

CVSS Score 9.8 / 10
EPSS Score 91.90%

Top 0% most likely to be exploited

Threat Score 76.8 / 100

Data Sources

NVD EPSS GitHub