CVE-2017-12629
Last modified
CVE-2017-12629 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 91.90% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Apache | Solr | >= 5.5.0, <= 5.5.4 |
| Apache | Solr | >= 6.0.0, <= 6.6.1 |
| Apache | Solr | >= 7.0.0, <= 7.0.1 |
| Redhat | Jboss Enterprise Application Platform | 7.0.0 |
| Redhat | Jboss Enterprise Application Platform | 7.1.0 |
| Debian | Debian Linux | 7.0 |
| Debian | Debian Linux | 8.0 |
| Debian | Debian Linux | 9.0 |
| Canonical | Ubuntu Linux | 16.04 |
References
- http://openwall.com/lists/oss-security/2017/10/13/1Mailing List, Third Party Advisory
- http://www.securityfocus.com/bid/101261Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2017:3123Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:3124Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:3244Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:3451Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:3452Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:0002Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:0003Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:0004Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:0005Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/01/msg00028.htmlMailing List, Third Party Advisory
- https://s.apache.org/FJDlExploit, Mailing List, Vendor Advisory
- https://twitter.com/ApacheSolr/status/918731485611401216Third Party Advisory
- https://twitter.com/joshbressers/status/919258716297420802Third Party Advisory
- https://twitter.com/searchtools_avi/status/918904813613543424Third Party Advisory
- https://usn.ubuntu.com/4259-1/Third Party Advisory
- https://www.debian.org/security/2018/dsa-4124Third Party Advisory
- https://www.exploit-db.com/exploits/43009/Exploit, Third Party Advisory, VDB Entry
- http://openwall.com/lists/oss-security/2017/10/13/1Mailing List, Third Party Advisory
- http://www.securityfocus.com/bid/101261Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2017:3123Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:3124Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:3244Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:3451Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:3452Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:0002Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:0003Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:0004Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:0005Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/01/msg00028.htmlMailing List, Third Party Advisory
- https://s.apache.org/FJDlExploit, Mailing List, Vendor Advisory
- https://twitter.com/ApacheSolr/status/918731485611401216Third Party Advisory
- https://twitter.com/joshbressers/status/919258716297420802Third Party Advisory
- https://twitter.com/searchtools_avi/status/918904813613543424Third Party Advisory
- https://usn.ubuntu.com/4259-1/Third Party Advisory
- https://www.debian.org/security/2018/dsa-4124Third Party Advisory
- https://www.exploit-db.com/exploits/43009/Exploit, Third Party Advisory, VDB Entry
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2017-12629?
How severe is CVE-2017-12629?
How do I fix CVE-2017-12629?
Are you affected by CVE-2017-12629?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
