CVE-2017-12629

critical
Published 2017-10-14 · Modified 2024-04-12
CVSS v3
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v2
7.5
VIR risk
9.8

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.

Predictions

Exploit likelihood
97%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2017-12629

vendor Authored 2026-05-27

Vendor advisory: security@apache.org — https://s.apache.org/FJDl

vendor Authored 2026-05-27

Vendor advisory: security@apache.org — http://mail-archives.us.apache.org/mod_mbox/www-announce/201710.mbox/%3CCAOOKt51UO_6Vy%3Dj8W%3Dx1pMbLW9VJfZyFWz7pAnXJC_OAdSZubA%40mail.gmail.com%3E

OS impact

OSVersionStatusFixed in
debian debianbookwormfixed3.6.2+dfsg-11
debian debianbullseyefixed3.6.2+dfsg-11
debian debianforkyfixed3.6.2+dfsg-11
debian debiansidfixed3.6.2+dfsg-11
debian debiantrixiefixed3.6.2+dfsg-11
ubuntu ubuntu16.04affected
debian debian7.0affected
debian debian8.0affected
debian debian9.0affected
redhat rhel6.0not-affected
redhat rhel7.0not-affected

Package impact

EcosystemPackageVulnerableFixed
java Mavenorg.apache.solr:solr-core>=7.0.0,<7.1.07.1.0
java Mavenorg.apache.solr:solr-core>=6.0.0,<6.6.26.6.2
java Mavenorg.apache.solr:solr-core>=5.5.0,<5.5.55.5.5

Application impact

VendorProductVersionsFixed
apache apachesolr{"startIncluding":"5.5.0","endIncluding":"5.5.4"}
redhatjboss_enterprise_application_platform7.0.0
redhatjboss_enterprise_application_platform7.1.0

References

CWEs

CWE-611

Verify integrity in audit chain (admin only). AS-IS.