ID CVE-2017-12629
Summary 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.
References
Vulnerable Configurations
  • cpe:2.3:a:apache:solr:5.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:5.5.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:5.5.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:5.5.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:5.5.2:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:5.5.2:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:5.5.3:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:5.5.3:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:5.5.4:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:5.5.4:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:6.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:6.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:6.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:6.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:6.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:6.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:6.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:6.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:6.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:6.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:6.3.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:6.3.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:6.4.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:6.4.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:6.4.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:6.4.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:6.4.2:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:6.4.2:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:6.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:6.5.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:6.5.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:6.5.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:6.6.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:6.6.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:6.6.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:6.6.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:7.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:7.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:solr:7.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:solr:7.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:lucene:*:*:*:*:*:*:*:*
    cpe:2.3:a:apache:lucene:*:*:*:*:*:*:*:*
CVSS
Base: 7.5 (as of 01-03-2018 - 02:29)
Impact:
Exploitability:
CWE CWE-611
CAPEC
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:N/AC:L/Au:N/C:P/I:P/A:P
redhat via4
advisories
  • rhsa
    id RHSA-2017:3123
  • rhsa
    id RHSA-2017:3124
  • rhsa
    id RHSA-2017:3244
  • rhsa
    id RHSA-2017:3451
  • rhsa
    id RHSA-2017:3452
  • rhsa
    id RHSA-2018:0002
  • rhsa
    id RHSA-2018:0003
  • rhsa
    id RHSA-2018:0004
  • rhsa
    id RHSA-2018:0005
refmap via4
bid 101261
debian DSA-4124
exploit-db 43009
misc
mlist
  • [debian-lts-announce] 20180121 [SECURITY] [DLA 1254-1] lucene-solr security update
  • [lucene-dev] 20171012 Re: Several critical vulnerabilities discovered in Apache Solr (XXE & RCE)
  • [www-announce] 20171019 [SECURITY] CVE-2017-12629: Several critical vulnerabilities discovered in Apache Solr (XXE & RCE)
Last major update 01-03-2018 - 02:29
Published 14-10-2017 - 23:29
Back to Top