Skip to content
Vulnerability Intelligence

CVE-2017-12629

CriticalPublic exploit

Remote code execution occurs in Apache Solr

Published Oct 17, 2018 · Updated Aug 4, 2026 · Also known as DEBIAN-CVE-2017-12629, DLA-1254-1, DSA-4124-1, GHSA-mh7g-99w9-xpjm, 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 7.1.0.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

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

Exploited in the wild

No known

Not in a known-exploited catalog

Public exploit code

Available

Proof-of-concept or weaponized module

Get the full CVE-2017-12629 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

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

52 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, 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-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 17, 2018

  2. Last updated

    Aug 4, 2026

Weakness Type

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

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2017-12629 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo