National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2017-12629 Detail

Current 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.

Source:  MITRE
Description Last Modified:  10/26/2017
View Analysis Description

Impact

CVSS v3.0 Severity and Metrics:

Base Score: 9.8 CRITICAL
Vector: AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (V3 legend)
Impact Score: 5.9
Exploitability Score: 3.9


Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope (S): Unchanged
Confidentiality (C): High
Integrity (I): High
Availability (A): High

CVSS v2.0 Severity and Metrics:

Base Score: 7.5 HIGH
Vector: (AV:N/AC:L/Au:N/C:P/I:P/A:P) (V2 legend)
Impact Subscore: 6.4
Exploitability Subscore: 10.0


Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (AU): None
Confidentiality (C): Partial
Integrity (I): Partial
Availability (A): Partial
Additional Information:
Allows unauthorized disclosure of information
Allows unauthorized modification
Allows disruption of service

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://mail-archives.us.apache.org/mod_mbox/www-announce/201710.mbox/%3CCAOOKt51UO_6Vy%3Dj8W%3Dx1pMbLW9VJfZyFWz7pAnXJC_OAdSZubA%40mail.gmail.com%3E Exploit Mailing List Vendor Advisory
http://openwall.com/lists/oss-security/2017/10/13/1 Mailing List Third Party Advisory
http://www.securityfocus.com/bid/101261 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2017:3123
https://access.redhat.com/errata/RHSA-2017:3124
https://access.redhat.com/errata/RHSA-2017:3244
https://access.redhat.com/errata/RHSA-2017:3451
https://access.redhat.com/errata/RHSA-2017:3452
https://access.redhat.com/errata/RHSA-2018:0002
https://access.redhat.com/errata/RHSA-2018:0003
https://access.redhat.com/errata/RHSA-2018:0004
https://access.redhat.com/errata/RHSA-2018:0005
https://lists.debian.org/debian-lts-announce/2018/01/msg00028.html
https://s.apache.org/FJDl Exploit Mailing List Vendor Advisory
https://twitter.com/ApacheSolr/status/918731485611401216 Third Party Advisory
https://twitter.com/joshbressers/status/919258716297420802 Third Party Advisory
https://twitter.com/searchtools_avi/status/918904813613543424 Third Party Advisory
https://www.debian.org/security/2018/dsa-4124
https://www.exploit-db.com/exploits/43009/ Exploit Third Party Advisory VDB Entry

Technical Details

Vulnerability Type (View All)

  • Improper Restriction of XML External Entity Reference ('XXE') (CWE-611)

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:apache:solr:5.5.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:apache:solr:5.5.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:apache:solr:5.5.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:apache:solr:5.5.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:apache:solr:5.5.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:apache:solr:6.0.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:apache:solr:6.0.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:apache:solr:6.1.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:apache:solr:6.2.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:apache:solr:6.2.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:apache:solr:6.3.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:apache:solr:6.4.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:apache:solr:6.4.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:apache:solr:6.4.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:apache:solr:6.5.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:apache:solr:6.5.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:apache:solr:6.6.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:apache:solr:6.6.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:apache:solr:7.0.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:apache:solr:7.0.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
Running on/with
 cpe:2.3:a:apache:lucene:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (including)
7.0.1


Change History

9 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2017-12629
NVD Published Date:
10/14/2017
NVD Last Modified:
02/28/2018