CVE-2017-12629

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability100. percentile91.9%
ProductApache Solr
PublishedOct 14, 2017
First seenOct 14, 2017

How to fix

Affected products

ProductAffected versionsFixed in
apache solr5.5.0 ≤ v ≤ 5.5.4, 6.0.0 ≤ v ≤ 6.6.1, 7.0.0 ≤ v ≤ 7.0.1—
redhat jboss_enterprise_application_platform7.0.0, 7.1.0—
debian debian_linux7.0, 8.0, 9.0—
canonical ubuntu_linux16.04—
org.apache.solr:solr-coreMaven7.0.0 ≤ v < 7.1.0, 6.0.0 ≤ v < 6.6.2, 5.5.0 ≤ v < 5.5.57.1.0, 6.6.2, 5.5.5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.