VDB

CVE-2017-12629

CVE-2017-12629 PUBLISHED CVSS 9.800000190734863 CRITICAL

Remote code execution occurs in Apache Solr

Reported by apache · Published October 14, 2017

solr-core is fixed in 7.1.0, 7.0.1, 6.6.2 and 7 more (Maven Central)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.apache.solr:solr-coreMaven Central7.1.0, 7.0.1, 6.6.2, 6.6.1, 6.5.1, 6.4.2, 6.2.1, 6.0.1, 5.5.5, 5.5.4
lucene-solrUbuntu:Pro:14.04:LTS3.6.2+dfsg-2ubuntu0.1~esm1
lucene-solrUbuntu:16.04:LTS3.6.2+dfsg-8ubuntu0.1
solrapache7.0.1, 6.6.1, 5.5.4
Apache Solr before 7.1 with Apache Lucene before 7.1n/a7.1.0, 5.3.1-redhat-2

Risk scores

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

Affected products

VendorProductVersions
n/aApache Solr before 7.1 with Apache Lucene before 7.1Apache Solr before 7.1 with Apache Lucene before 7.1, lucene-solr 7.2.0, lucene-solr 8.0.0
n/aApache Solr before 7.1 with Apache Lucene before 7.1lucene-solr
Mavenorg.apache.solr:solr-core7.0.0, 6.0.0, 6.1.0
n/aApache Solr before 7.1 with Apache Lucene before 7.17.2.0, 8.0.0, *

Timeline

  • Oct 14, 2017 CVE Published
  • Oct 18, 2017 PoC Published (2 in total, the first dated here)
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 5, 2026 Distribution Patch (11 in total, the first dated here)
  • Mar 5, 2026 Security Advisory (12 in total, the first dated here)
  • Oct 3, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2017-12629
vulnetix vdb fixes CVE-2017-12629

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-12629/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

…and 7 more

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›