CVE-2017-12629
highpriority · act · 81EPSS 0.919 · 100 %ileexploit · functionalEURUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.5–9.8
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (3)
Public proof-of-concept and weaponised exploit code.
- EDB-43009Apache Solr 7.0.1 - XML External Entity Expansion / Remote Code Executionfunctional · exploit_db
affected products (17)
Products and version ranges known to be affected.
- n/a Apache Solr before 7.1 with Apache Lucene before 7.1≤ Apache Solr before 7.1 with Apache Lucene before 7.1enisa_euvdEU
- redhat jboss enterprise application platform= 7.0.0nvdUScpe:2.3:a:redhat:jboss_enterprise_application_platform:*:*:*:*:*:*:*:*
- redhat jboss enterprise application platform= 7.1.0nvdUScpe:2.3:a:redhat:jboss_enterprise_application_platform:*:*:*:*:*:*:*:*
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-mh7g-99w9-xpjmRemote code execution occurs in Apache Solr2018-10-17ghsa · osvUS
Remote code execution occurs in Apache Solr before versions 5.5.5, 6.6.2 and 7.1.0 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
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (77)
External citations — patches, advisories, analysis.
- http://mail-archives.us.apache.org/mod_mbox/www-announce/201710.mbox/%3CCAOOKt51UO_6Vy%3Dj8W%3Dx1pMbLW9VJfZyFWz7pAnXJC_OAdSZubA%40mail.gmail.com%3Ecnnvd
- http://openwall.com/lists/oss-security/2017/10/13/1cnnvd
- https://access.redhat.com/errata/RHSA-2017:3123cnnvd
- https://access.redhat.com/errata/RHSA-2017:3124cnnvd
- https://access.redhat.com/errata/RHSA-2017:3244cnnvd
- https://access.redhat.com/errata/RHSA-2017:3451cnnvd
- https://access.redhat.com/errata/RHSA-2017:3452cnnvd
- https://access.redhat.com/errata/RHSA-2018:0002cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan