--- title: "CVE-2017-12629: Apache Solr before 7.1 with Apache Lucene… | CubePath" 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…" language: en source: https://cubepath.com/security/cve/CVE-2017-12629 --- # CVE-2017-12629: Apache Solr before 7.1 with Apache Lucene… | CubePath ## 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. Official description from the CVE record, published by apache. Copyright © 1999-2026 The MITRE Corporation. See [/security/cve/legal](https://cubepath.com/security/cve/legal) for the CVE license. [View the record on cve.org](https://www.cve.org/CVERecord?id=CVE-2017-12629) ## Key data ### EPSS Exploit Prediction Scoring System by FIRST: an estimate of the probability that exploitation activity will be observed in the next 30 days. Score 0.92487 (92.5% probability) Percentile 99.8% Scores of Nov 10, 2026 Model v2026.06.15 ## Affected products Products listed in the CVE record, as the CNA published them. - 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 up to before 7.1.0 - Apache Solr before 7.1 with Apache Lucene before 7.1 - affected: lucene-solr up to before 5.3.1-redhat-2 ## References Links listed in the CVE record. They lead to other sites, which CubePath does not control. - [RHSA-2017:3451](https://access.redhat.com/errata/RHSA-2017:3451) (access.redhat.com) vendor-advisory - [\[lucene-dev\] 20171012 Re: Several critical vulnerabilities discovered in Apache Solr (XXE & RCE)](https://s.apache.org/FJDl) (s.apache.org) mailing-list - [RHSA-2018:0002](https://access.redhat.com/errata/RHSA-2018:0002) (access.redhat.com) vendor-advisory - [101261](http://www.securityfocus.com/bid/101261) (securityfocus.com) vdb-entry - [RHSA-2018:0004](https://access.redhat.com/errata/RHSA-2018:0004) (access.redhat.com) vendor-advisory - [RHSA-2017:3452](https://access.redhat.com/errata/RHSA-2017:3452) (access.redhat.com) vendor-advisory - [\[debian-lts-announce\] 20180121 \[SECURITY\] \[DLA 1254-1\] lucene-solr security update](https://lists.debian.org/debian-lts-announce/2018/01/msg00028.html) (lists.debian.org) mailing-list - [43009](https://www.exploit-db.com/exploits/43009/) (exploit-db.com) exploit - [RHSA-2018:0003](https://access.redhat.com/errata/RHSA-2018:0003) (access.redhat.com) vendor-advisory - [RHSA-2017:3123](https://access.redhat.com/errata/RHSA-2017:3123) (access.redhat.com) vendor-advisory - [RHSA-2018:0005](https://access.redhat.com/errata/RHSA-2018:0005) (access.redhat.com) vendor-advisory - [RHSA-2017:3244](https://access.redhat.com/errata/RHSA-2017:3244) (access.redhat.com) vendor-advisory - [RHSA-2017:3124](https://access.redhat.com/errata/RHSA-2017:3124) (access.redhat.com) vendor-advisory - [\[www-announce\] 20171019 \[SECURITY\] CVE-2017-12629: Several critical vulnerabilities discovered in Apache Solr (XXE & RCE)](http://mail-archives.us.apache.org/mod%5Fmbox/www-announce/201710.mbox/%3CCAOOKt51UO%5F6Vy%3Dj8W%3Dx1pMbLW9VJfZyFWz7pAnXJC%5FOAdSZubA%40mail.gmail.com%3E) (mail-archives.us.apache.org) mailing-list - [DSA-4124](https://www.debian.org/security/2018/dsa-4124) (debian.org) vendor-advisory - [USN-4259-1](https://usn.ubuntu.com/4259-1/) (usn.ubuntu.com) vendor-advisory - [twitter.com/ApacheSolr/status/918731485611401216](https://twitter.com/ApacheSolr/status/918731485611401216) - [twitter.com/searchtools\_avi/status/918904813613543424](https://twitter.com/searchtools%5Favi/status/918904813613543424) - [openwall.com/lists/oss-security/2017/10/13/1](http://openwall.com/lists/oss-security/2017/10/13/1) - [twitter.com/joshbressers/status/919258716297420802](https://twitter.com/joshbressers/status/919258716297420802) - [\[solr-users\] 20210618 CVE-2021-27905 Apache Solr ReplicationHandler/SSRF vulnerability](https://lists.apache.org/thread.html/r95df34bb158375948da82b4dfe9a1b5d528572d586584162f8f5aeef%40%3Cusers.solr.apache.org%3E) (lists.apache.org) mailing-list - [\[solr-users\] 20210618 Re: CVE-2021-27905 Apache Solr ReplicationHandler/SSRF vulnerability](https://lists.apache.org/thread.html/r140128dc6bb4f4e0b6a39e962c7ca25a8cbc8e48ed766176c931fccc%40%3Cusers.solr.apache.org%3E) (lists.apache.org) mailing-list - [\[solr-users\] 20210728 Re: CVE-2021-27905 Apache Solr ReplicationHandler/SSRF vulnerability](https://lists.apache.org/thread.html/r3da74965aba2b5f5744b7289ad447306eeb2940c872801819faa9314%40%3Cusers.solr.apache.org%3E) (lists.apache.org) mailing-list - [\[jackrabbit-oak-issues\] 20210817 \[jira\] \[Created\] (OAK-9537) Security vulnerability in org/apache/lucene/queryparser/xml/CoreParser.java](https://lists.apache.org/thread.html/r26c996b068ef6c5e89aa59acb769025cfd343a08e63fbe9e7f3f720f%40%3Coak-issues.jackrabbit.apache.org%3E) (lists.apache.org) mailing-list ## Timeline 1. ID reserved Aug 7, 2017 2. Record published Oct 14, 2017 3. Record last updated Aug 5, 2024 ## Look up another CVE ## About CubePath CubePath is a cloud provider with data centers in Europe and the United States. It offers VPS, bare metal servers and DDoS protection. [Cloud VPS](https://cubepath.com/vps) [DDoS protection](https://cubepath.com/ddos-protection) Data from the CVE Program (MITRE), CISA KEV and FIRST EPSS. CVSS is owned by FIRST and used by permission. Not affiliated with or endorsed by MITRE, CISA or FIRST. Data as of Nov 10, 2026, 19:59 UTC. [Sources and licenses](https://cubepath.com/security/cve/legal)