CVE-2017-12629Apache Solr
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Apache · Apache Solr We alert you by email or Slack (account required).
- Priority
- 83
- CVSS 3.1
- 9.8
- EPSS
- 92.5% probability of exploitation in 30 days · percentile 100
- Auth required
- No
- Published
- Oct 14, 2017
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-611
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Solr.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.solr:solr-core |
≥ 7.0.0 < 7.1.0 |
7.1.0 |
— |
| Maven | org.apache.solr:solr-core |
≥ 6.0.0 < 6.6.2 |
6.6.2 |
— |
| Maven | org.apache.solr:solr-core |
≥ 5.5.0 < 5.5.5 |
5.5.5 |
— |
Per OSV / GitHub Advisories (GHSA-mh7g-99w9-xpjm). Check the version in your lockfile before upgrading.
Affected products (CPE)
| 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 |
Official sources
References
Links published by the sources. Open them with care.
- mail-archives.us.apache.org Mailing List Vendor Advisory
- openwall.com Mailing List Third Party Advisory
- www.securityfocus.com Third Party Advisory VDB Entry
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.debian.org Mailing List Third Party Advisory
- s.apache.org Exploit Mailing List Vendor Advisory
- twitter.com Third Party Advisory
- twitter.com Third Party Advisory
- twitter.com Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- www.debian.org Third Party Advisory
- www.exploit-db.com Exploit Third Party Advisory VDB Entry