TROYANOSYVIRUS
Back to CVEs

CVE-2017-12629

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

CVE Details

CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published10/14/2017
Last Modified4/20/2025
Sourcenvd
Honeypot Sightings0

Affected Products

apache:solrcanonical:ubuntu_linuxdebian:debian_linuxredhat:enterprise_linux_serverredhat:jboss_enterprise_application_platform

Weaknesses (CWE)

CWE-611

References

https://s.apache.org/FJDl(security@apache.org)
https://usn.ubuntu.com/4259-1/(security@apache.org)
http://openwall.com/lists/oss-security/2017/10/13/1(af854a3a-2127-422b-91ae-364da2661108)
http://www.securityfocus.com/bid/101261(af854a3a-2127-422b-91ae-364da2661108)
https://access.redhat.com/errata/RHSA-2017:3123(af854a3a-2127-422b-91ae-364da2661108)
https://access.redhat.com/errata/RHSA-2017:3124(af854a3a-2127-422b-91ae-364da2661108)
https://access.redhat.com/errata/RHSA-2017:3244(af854a3a-2127-422b-91ae-364da2661108)
https://access.redhat.com/errata/RHSA-2017:3451(af854a3a-2127-422b-91ae-364da2661108)
https://access.redhat.com/errata/RHSA-2017:3452(af854a3a-2127-422b-91ae-364da2661108)
https://access.redhat.com/errata/RHSA-2018:0002(af854a3a-2127-422b-91ae-364da2661108)
https://access.redhat.com/errata/RHSA-2018:0003(af854a3a-2127-422b-91ae-364da2661108)
https://access.redhat.com/errata/RHSA-2018:0004(af854a3a-2127-422b-91ae-364da2661108)
https://access.redhat.com/errata/RHSA-2018:0005(af854a3a-2127-422b-91ae-364da2661108)
https://s.apache.org/FJDl(af854a3a-2127-422b-91ae-364da2661108)
https://twitter.com/ApacheSolr/status/918731485611401216(af854a3a-2127-422b-91ae-364da2661108)
https://usn.ubuntu.com/4259-1/(af854a3a-2127-422b-91ae-364da2661108)
https://www.debian.org/security/2018/dsa-4124(af854a3a-2127-422b-91ae-364da2661108)
https://www.exploit-db.com/exploits/43009/(af854a3a-2127-422b-91ae-364da2661108)

IOC Correlations

No correlations recorded

This product uses data from the NVD API but is not endorsed or certified by the NVD.