CVE-2017-12629

CRITICAL IN THE WILD NUCLEI

Apache Solr < 5.5.4 - XXE

Title source: rule

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.

Exploits (2)

exploitdb WORKING POC VERIFIED
by Michael Stepankin & Olga Barinova · textwebappsxml
https://www.exploit-db.com/exploits/43009
nomisec WORKING POC
by captain-woof · poc
https://github.com/captain-woof/cve-2017-12629

Nuclei Templates (1)

Apache Solr <= 7.1 - XML Entity Injection
CRITICALby dwisiswant0
Shodan: cpe:"cpe:2.3:a:apache:solr" || http.title:"apache solr" || http.title:"solr admin"
FOFA: title="solr admin" || title="apache solr"

References (24)

... and 4 more

Scores

CVSS v3 9.8
EPSS 0.9389
EPSS Percentile 99.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

InTheWild.io 2021-04-18
CWE
CWE-611
Status published
Products (13)
apache/solr 5.5.0 - 5.5.4
canonical/ubuntu_linux 16.04
debian/debian_linux 7.0
debian/debian_linux 8.0
debian/debian_linux 9.0
n/a/Apache Solr before 7.1 with Apache Lucene before 7.1 Apache Solr before 7.1 with Apache Lucene before 7.1
n/a/Apache Solr before 7.1 with Apache Lucene before 7.1 lucene-solr - 5.3.1-redhat-2
n/a/Apache Solr before 7.1 with Apache Lucene before 7.1 lucene-solr - 7.1.0
n/a/Apache Solr before 7.1 with Apache Lucene before 7.1 lucene-solr 7.2.0
n/a/Apache Solr before 7.1 with Apache Lucene before 7.1 lucene-solr 8.0.0
... and 3 more
Published Oct 14, 2017
Tracked Since Feb 18, 2026