CVE-2017-12629: apache solr
Vulnerability summary
CVE-2017-12629 is a critical (CVSS 9.8) vulnerability in apache solr. EPSS estimates a 91.90% chance of exploitation in the next 30 days, higher than 99.8% of scored vulnerabilities. 2 public exploits are recorded.
Public exploit (exploit-database, 17-10-2017)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 4Timeline
- 14-10-2017PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 5 sources · 3 versions- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · MavenEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
91.90%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
No change 0.00 pp
From 91.90% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
2 foundExploit Reference (s.apache.org)
Maturity: unknown
Apache Solr 7.0.1 - XML External Entity Expansion / Remote Code Execution
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat50 products
- jboss_enterprise_application_platform7.0.0 | 7.1.0
- eap7-lucene-analyzers-common< 0:5.3.1-4.redhat_2.1.ep7.el6 | < 0:5.3.1-4.redhat_2.1.ep7.el7
- eap7-lucene-backward-codecs< 0:5.3.1-4.redhat_2.1.ep7.el6 | < 0:5.3.1-4.redhat_2.1.ep7.el7
- eap7-lucene-core< 0:5.3.1-4.redhat_2.1.ep7.el6 | < 0:5.3.1-4.redhat_2.1.ep7.el7
- eap7-lucene-facet< 0:5.3.1-4.redhat_2.1.ep7.el6 | < 0:5.3.1-4.redhat_2.1.ep7.el7
Debian2 products
- lucene-solr< 3.6.2+dfsg-11 | < 3.6.0+dfsg-1+deb7u3
- debian_linuxEOL7.0 | 8.0 | 9.0
Apache1 product
- solr≥ 5.5.0, ≤ 5.5.4 | ≥ 6.0.0, ≤ 6.6.1 | ≥ 7.0.0, ≤ 7.0.1
Canonical1 product
- ubuntu_linuxEOL16.04
Mageia1 product
- lucene< 5.5.0-4.1.mga6
Org.apache.solr1 product
- solr-core≥ 7.0.0, < 7.1.0 | ≥ 6.0.0, < 6.6.2 | ≥ 5.5.0, < 5.5.5
Ubuntu1 product
- lucene-solr< 3.6.2+dfsg-2ubuntu0.1~esm1 | < 3.6.2+dfsg-8ubuntu0.1
7 vendors · 57 products
References
53 links- access.redhat.com/errata/RHSA-2017:3451Vendor AdvisoryX Refsource REDHATThird Party AdvisoryAdvisoryWEB
- access.redhat.com/errata/RHSA-2017:3452Vendor AdvisoryX Refsource REDHATThird Party AdvisoryAdvisoryWEB
- lists.debian.org/debian-lts-announce/2018/01/msg00028.htmlMailing ListX Refsource MLISTThird Party AdvisoryWEB
- access.redhat.com/errata/RHSA-2017:3123Vendor AdvisoryX Refsource REDHATThird Party AdvisoryAdvisoryWEB
Show all 53 references
- github.com/apache/lucenePACKAGE