CVE-2017-12629

9.8 CRITICAL
Published: October 14, 2017 Modified: May 13, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
http://openwall.com/lists/oss-security/2017/10/13/1
Source: security@apache.org
Mailing List Third Party Advisory
http://www.securityfocus.com/bid/101261
Source: security@apache.org
Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2017:3123
Source: security@apache.org
Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:3124
Source: security@apache.org
Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:3244
Source: security@apache.org
Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:3451
Source: security@apache.org
Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:3452
Source: security@apache.org
Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:0002
Source: security@apache.org
Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:0003
Source: security@apache.org
Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:0004
Source: security@apache.org
Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:0005
Source: security@apache.org
Third Party Advisory
https://lists.debian.org/debian-lts-announce/2018/01/msg00028.html
Source: security@apache.org
Mailing List Third Party Advisory
https://s.apache.org/FJDl
Source: security@apache.org
Exploit Mailing List Vendor Advisory
https://twitter.com/ApacheSolr/status/918731485611401216
Source: security@apache.org
Third Party Advisory
https://twitter.com/joshbressers/status/919258716297420802
Source: security@apache.org
Third Party Advisory
https://twitter.com/searchtools_avi/status/918904813613543424
Source: security@apache.org
Third Party Advisory
https://usn.ubuntu.com/4259-1/
Source: security@apache.org
Third Party Advisory
https://www.debian.org/security/2018/dsa-4124
Source: security@apache.org
Third Party Advisory
https://www.exploit-db.com/exploits/43009/
Source: security@apache.org
Exploit Third Party Advisory VDB Entry
http://openwall.com/lists/oss-security/2017/10/13/1
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Third Party Advisory
http://www.securityfocus.com/bid/101261
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2017:3123
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:3124
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:3244
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:3451
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:3452
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:0002
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:0003
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:0004
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:0005
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://lists.debian.org/debian-lts-announce/2018/01/msg00028.html
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Third Party Advisory
https://s.apache.org/FJDl
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Mailing List Vendor Advisory
https://twitter.com/ApacheSolr/status/918731485611401216
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://twitter.com/joshbressers/status/919258716297420802
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://twitter.com/searchtools_avi/status/918904813613543424
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://usn.ubuntu.com/4259-1/
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://www.debian.org/security/2018/dsa-4124
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://www.exploit-db.com/exploits/43009/
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Third Party Advisory VDB Entry

48 reference(s) from NVD

Quick Stats

CVSS v3 Score
9.8 / 10.0
EPSS (Exploit Probability)
91.9%
100th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

canonical apache debian redhat