CVE-2017-12629
- State
- Published
- Severity
- Not scored
- Published
- Oct 14, 2017
- Updated
- Aug 5, 2024
- Reserved
- Aug 7, 2017
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.
Scores
The record has no CVSS score.
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
Apache Solr before 7.1 with Apache Lucene before 7.1n/a |
|
Apache Solr before 7.1 with Apache Lucene before 7.1n/a |
|
References
- RHSA-2017:3451vendor-advisory
- [lucene-dev] 20171012 Re: Several critical vulnerabilities discovered in Apache Solr (XXE & RCE)mailing-list
- RHSA-2018:0002vendor-advisory
- 101261vdb-entry
- RHSA-2018:0004vendor-advisory
- RHSA-2017:3452vendor-advisory
- [debian-lts-announce] 20180121 [SECURITY] [DLA 1254-1] lucene-solr security updatemailing-list
- 43009exploit
- RHSA-2018:0003vendor-advisory
- RHSA-2017:3123vendor-advisory
- RHSA-2018:0005vendor-advisory
- RHSA-2017:3244vendor-advisory
- RHSA-2017:3124vendor-advisory
- [www-announce] 20171019 [SECURITY] CVE-2017-12629: Several critical vulnerabilities discovered in Apache Solr (XXE & RCE)mailing-list
- DSA-4124vendor-advisory
- USN-4259-1vendor-advisory
- https://twitter.com/ApacheSolr/status/918731485611401216
- https://twitter.com/searchtools_avi/status/918904813613543424
- http://openwall.com/lists/oss-security/2017/10/13/1
- https://twitter.com/joshbressers/status/919258716297420802
- [solr-users] 20210618 CVE-2021-27905 Apache Solr ReplicationHandler/SSRF vulnerabilitymailing-list
- [solr-users] 20210618 Re: CVE-2021-27905 Apache Solr ReplicationHandler/SSRF vulnerabilitymailing-list
- [solr-users] 20210728 Re: CVE-2021-27905 Apache Solr ReplicationHandler/SSRF vulnerabilitymailing-list
- [jackrabbit-oak-issues] 20210817 [jira] [Created] (OAK-9537) Security vulnerability in org/apache/lucene/queryparser/xml/CoreParser.javamailing-list
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.