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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2017
- CVE-2017-12623An authorized user could upload a template which contained m…
- CVE-2017-12624Apache CXF supports sending and receiving attachments via ei…
- CVE-2017-12625Apache Hive 2.1.x before 2.1.2, 2.2.x before 2.2.1, and 2.3.…
- CVE-2017-12626Apache POI in versions prior to release 3.17 are vulnerable …7.5
- CVE-2017-12627In Apache Xerces-C XML Parser library before 3.2.1, processi…
- CVE-2017-12628The JMX server embedded in Apache James, also used by the co…
- CVE-2017-12630In Apache Drill 1.11.0 and earlier when submitting form from…
- CVE-2017-12631Apache CXF Fediz ships with a number of container-specific p…
- CVE-2017-12632A malicious host header in an incoming HTTP request could ca…
- CVE-2017-12633The camel-hessian component in Apache Camel 2.x before 2.19.…
- CVE-2017-12634The camel-castor component in Apache Camel 2.x before 2.19.4…
- CVE-2017-12635Due to differences in the Erlang-based JSON parser and JavaS…
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
