Skip to content
Emerging threatsCritical

CVE-2017-12629Solr XXE

Remote code execution occurs in Apache Solr

Published Oct 14, 2017 · Updated Oct 24, 2026 · Also known as DEBIAN-CVE-2017-12629, DLA-1254-1, DSA-4124-1, GHSA-mh7g-99w9-xpjm, MGASA-2017-0403, UBUNTU-CVE-2017-12629, USN-4259-1

Key Facts

Patch immediately
  • CVE-2017-12629 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Solr (Apache), Jboss Enterprise Application Platform (Redhat), Ubuntu Linux (Canonical) and 20 more products.
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 92% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Solr 5.5.4, Apache Solr before 7.1 with Apache Lucene before 7.1 5.3.1-redhat-2, Apache Solr before 7.1 with Apache Lucene before 7.1 6.6.2.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

Scores

CVSS v3.1

9.8

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

92%

Higher than 99.8% of all scored CVEs

Exploit maturity

Proof of concept

ATLAS score

62/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Proof of concept

Public exploit code

2

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

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.

Affected Products

53 affected entries in total
ProductAffected versionsFixed in
SolrApacheSee advisory5.5.4
Jboss Enterprise Application PlatformRedhat7.0.0, 7.1.0n/a
Ubuntu LinuxCanonical16.04n/a
Debian LinuxDebian7.0, 8.0, 9.0n/a
lucene-solrdebianSee advisory3.6.2+dfsg-11
18 more affected products in the full CVE brief

Patched Releases

Solr

5.5.4

Apache Solr before 7.1 with Apache Lucene before 7.1

5.3.1-redhat-2, 6.6.2, 7.1.0

eap7-activemq-artemis

0:1.1.0-19.SP24_redhat_1.1.ep7.el6, 0:1.1.0-19.SP24_redhat_1.1.ep7.el7

eap7-hibernate

0:5.0.16-1.Final_redhat_1.1.ep7.el6, 0:5.0.16-1.Final_redhat_1.1.ep7.el7

eap7-ironjacamar

0:1.3.8-1.Final_redhat_1.1.ep7.el6, 0:1.3.8-1.Final_redhat_1.1.ep7.el7

eap7-jboss-ec2-eap

0:7.0.9-2.GA_redhat_2.ep7.el6, 0:7.0.9-2.GA_redhat_2.ep7.el7

eap7-jboss-remoting

0:4.0.25-1.Final_redhat_1.1.ep7.el6, 0:4.0.25-1.Final_redhat_1.1.ep7.el7

eap7-jboss-xnio-base

0:3.4.7-1.Final_redhat_1.1.ep7.el6, 0:3.4.7-1.Final_redhat_1.1.ep7.el7

eap7-jgroups

0:3.6.12-1.Final_redhat_1.1.ep7.el6, 0:3.6.12-1.Final_redhat_1.1.ep7.el7

eap7-lucene-solr

0:5.3.1-4.redhat_2.1.ep7.el6, 0:5.3.1-4.redhat_2.1.ep7.el7

eap7-resteasy

0:3.0.19-7.SP5_redhat_1.1.ep7.el6, 0:3.0.19-7.SP5_redhat_1.1.ep7.el7

eap7-undertow

0:1.3.31-3.Final_redhat_3.1.ep7.el6, 0:1.3.31-3.Final_redhat_3.1.ep7.el7

eap7-wildfly

0:7.0.9-4.GA_redhat_3.1.ep7.el6, 0:7.0.9-4.GA_redhat_3.1.ep7.el7

eap7-wildfly-javadocs

0:7.0.9-2.GA_redhat_3.1.ep7.el6, 0:7.0.9-2.GA_redhat_3.1.ep7.el7

lucene

5.5.0-4.1.mga6

lucene-solr

3.6.0+dfsg-1+deb7u3, 3.6.2+dfsg-10+deb9u1, 3.6.2+dfsg-11, 3.6.2+dfsg-2ubuntu0.1~esm1, 3.6.2+dfsg-5+deb8u1, 3.6.2+dfsg-8ubuntu0.1

org.apache.solr:solr-core

5.5.5, 6.6.2, 7.1.0

rh-java-common-lucene

0:4.8.0-6.9.el6, 0:4.8.0-6.9.el7

rh-java-common-lucene5

0:5.4.1-2.4.el6, 0:5.4.1-2.4.el7

Timeline

  1. Publicly disclosed

    Oct 14, 2017

  2. Last updated

    Oct 24, 2026

Weakness Type

  • CWE-138 Improper Neutralization of Special Elements
  • CWE-611 Improper Restriction of XML External Entity Reference

FAQ

Common Questions.

Is CVE-2017-12629 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Dec 4, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.