9.8

CVE-2017-12629: apache solr

Modified
AliasesMGASA-2017-0403RHSA-2017:3123RHSA-2017:3451
Published 14-10-2017Last modified 05-08-2024

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.

Priority
Prioritisepublic exploit

Public exploit (exploit-database, 17-10-2017)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
91.90%
0%100%
Critical · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits2reference, exploit-database

Advisory lineage

Upstream 0 · Downstream 4

Timeline

  1. 14-10-2017
    PublishedVulnerability first disclosed.
  2. 05-08-2024
    Last 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

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

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

2 found
  • referenceUnverified

    Exploit Reference (s.apache.org)

    Maturity: unknown

  • exploit-databasexmlVerified

    Apache Solr 7.0.1 - XML External Entity Expansion / Remote Code Execution

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

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
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
Show all 53 references