CVE Database
/

CVE-2017-12629

Back to search

CVE-2017-12629

Published: Oct 14, 2017

Modified: Aug 5, 2024

PUBLISHED

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.

VendorProductVersions

n/a

Apache Solr before 7.1 with Apache Lucene before 7.1

affected
Apache Solr before 7.1 with Apache Lucene before 7.1
unaffected
lucene-solr 7.2.0
unaffected
lucene-solr 8.0.0
affected
lucene-solr - < 7.1.0

n/a

Apache Solr before 7.1 with Apache Lucene before 7.1

affected
lucene-solr - < 5.3.1-redhat-2

References

RHSA-2017:3451
vendor-advisory
x_refsource_REDHAT
RHSA-2018:0002
vendor-advisory
x_refsource_REDHAT
101261
vdb-entry
x_refsource_BID
RHSA-2018:0004
vendor-advisory
x_refsource_REDHAT
RHSA-2017:3452
vendor-advisory
x_refsource_REDHAT
43009
exploit
x_refsource_EXPLOIT-DB
RHSA-2018:0003
vendor-advisory
x_refsource_REDHAT
RHSA-2017:3123
vendor-advisory
x_refsource_REDHAT
RHSA-2018:0005
vendor-advisory
x_refsource_REDHAT
RHSA-2017:3244
vendor-advisory
x_refsource_REDHAT
RHSA-2017:3124
vendor-advisory
x_refsource_REDHAT
DSA-4124
vendor-advisory
x_refsource_DEBIAN
USN-4259-1
vendor-advisory
x_refsource_UBUNTU

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now