CVSS 3.1
9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCritical (9.8). EPSS 92% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.solr:solr-core 5.5.5, 6.6.2, 7.1.0.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Horg.apache.solr:solr-core (Maven): fixed in 7.1.0, 6.6.2, 5.5.5Explain CVE-2017-12629 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-12629?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-12629?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-12629 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| apache:solr | from 5.5.0 through 5.5.4 |
| apache:solr | from 6.0.0 through 6.6.1 |
| apache:solr | from 7.0.0 through 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 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-mh7g-99w9-xpjm | Maven | org.apache.solr:solr-core | >=7.0.0 <7.1.0 | 7.1.0 |
| GHSA-mh7g-99w9-xpjm | Maven | org.apache.solr:solr-core | >=6.0.0 <6.6.2 | 6.6.2 |
| GHSA-mh7g-99w9-xpjm | Maven | org.apache.solr:solr-core | >=5.5.0 <5.5.5 | 5.5.5 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 7 | lucene-solr | 3.6.0+dfsg-1+deb7u3 | DLA-1254-1 |
| Debian | 8 | lucene-solr | 3.6.2+dfsg-5+deb8u1 | DSA-4124-1 |
| Debian | 9 | lucene-solr | 3.6.2+dfsg-10+deb9u1 | DSA-4124-1 |
| Debian | 12, 13, 14 | lucene-solr | 3.6.2+dfsg-11 | DEBIAN-CVE-2017-12629 |
| Ubuntu | 16.04:LTS | lucene-solr | 3.6.2+dfsg-8ubuntu0.1 | UBUNTU-CVE-2017-12629 USN-4259-1 |
| Ubuntu | Pro:14.04:LTS | lucene-solr | 3.6.2+dfsg-2ubuntu0.1~esm1 | UBUNTU-CVE-2017-12629 |
| Red Hat | jboss_enterprise_application_platform:7::el6 | eap7-activemq-artemis, eap7-activemq-artemis-ra, eap7-activemq-artemis-cli and 12 more | 0:1.1.0-19.SP24_redhat_1.1.ep7.el6 | RHSA-2018:0002 |
| Red Hat | jboss_enterprise_application_platform:7::el6 | eap7-hibernate, eap7-hibernate-core, eap7-hibernate-java8 and 3 more | 0:5.0.16-1.Final_redhat_1.1.ep7.el6 | RHSA-2018:0002 |
| Red Hat | jboss_enterprise_application_platform:7::el6 | eap7-ironjacamar, eap7-ironjacamar-jdbc, eap7-ironjacamar-core-api and 6 more | 0:1.3.8-1.Final_redhat_1.1.ep7.el6 | RHSA-2018:0002 |
| Red Hat | jboss_enterprise_application_platform:7::el6 | eap7-jboss-ec2-eap, eap7-jboss-ec2-eap-samples | 0:7.0.9-2.GA_redhat_2.ep7.el6 | RHSA-2018:0005 |
| Red Hat | jboss_enterprise_application_platform:7::el6 | eap7-jboss-remoting | 0:4.0.25-1.Final_redhat_1.1.ep7.el6 | RHSA-2018:0002 |
| Red Hat | jboss_enterprise_application_platform:7::el6 | eap7-jboss-xnio-base | 0:3.4.7-1.Final_redhat_1.1.ep7.el6 | RHSA-2018:0002 |
| Red Hat | jboss_enterprise_application_platform:7::el6 | eap7-jgroups | 0:3.6.12-1.Final_redhat_1.1.ep7.el6 | RHSA-2018:0002 |
| Red Hat | jboss_enterprise_application_platform:7::el6 | eap7-lucene-core, eap7-lucene-misc, eap7-lucene-solr and 5 more | 0:5.3.1-4.redhat_2.1.ep7.el6 | RHSA-2017:3123 |
| Red Hat | jboss_enterprise_application_platform:7::el6 | eap7-resteasy, eap7-resteasy-cdi, eap7-resteasy-jaxrs and 15 more | 0:3.0.19-7.SP5_redhat_1.1.ep7.el6 | RHSA-2018:0002 |
| Red Hat | jboss_enterprise_application_platform:7::el6 | eap7-undertow | 0:1.3.31-3.Final_redhat_3.1.ep7.el6 | RHSA-2018:0002 |
| Red Hat | jboss_enterprise_application_platform:7::el6 | eap7-wildfly, eap7-wildfly-modules | 0:7.0.9-4.GA_redhat_3.1.ep7.el6 | RHSA-2018:0002 |
| Red Hat | jboss_enterprise_application_platform:7::el6 | eap7-wildfly-javadocs | 0:7.0.9-2.GA_redhat_3.1.ep7.el6 | RHSA-2018:0002 |
| 16 more for Red Hat in the JSON and on Red Hat's page. | ||||
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.
Red Hat rates this Critical.
The following products are not affected by this flaw, as they do not use the vulnerable functionality of either aspect of the issue.
Red Hat JBoss Enterprise Application Platform 6
Red Hat JBoss BPM Suite
Red Hat JBoss BRMS
Red Hat Enterprise Virtualization Manager
Red Hat Single Sign-On 7
Red Hat JBoss Portal Platform 6
Red Hat JBoss Enterprise Application Platform 7 is not affected by this flaw. However, it does ship the vulnerable Lucene class in a dependency to another component. Customers who reuse the lucene-queryparser jar in their applications may be vulnerable to the External Entity Expansion aspect of this flaw. This will be patched in a forthcoming release.
Red Hat JBoss Fuse is not affected by this flaw, as it does not use the vulnerable functionality of either aspect of this flaw. Fuse customers who may be running external Solr servers, while not affected from the Fuse side, are advised to secure their Solr servers as recommended in the mitigation provided.
The following products ship only the Lucene components relevant to this flaw, and are not vulnerable to the second portion of the vulnerability, the code execution exploit. As such, the impact of this flaw has been determined to be Moderate for these respective products:
Red Hat JBoss Data Grid 7
Red Hat Enterprise Linux 6
Red Hat Software Collections 2.4
This issue did not affect the versions of lucene as shipped with Red Hat Enterprise Linux 5.
This issue does not affect Elasticsearch as shipped in OpenShift Container Platform.
Until fixes are available, all Solr users are advised to restart their Solr instances with the system parameter `-Ddisable.configEdit=true`. This will disallow any changes to be made to configurations via the Config API. This is a key factor in this vulnerability, since it allows GET requests to add the RunExecutableListener to the config.
This is sufficient to protect from this type of attack, but means you cannot use the edit capabilities of the Config API until further fixes are in place.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat JBoss Data Grid 7.1 | Fixed 2017-11-16 | RHSA-2017:3244 | |
| Red Hat JBoss EAP 7 | lucene-core | Fixed 2018-01-03 | RHSA-2018:0003 |
| Red Hat JBoss Enterprise Application Platform 7.0 for RHEL 6 | eap7-lucene-solr-0:5.3.1-4.redhat_2.1.ep7.el6 | Fixed 2017-11-06 | RHSA-2017:3123 |
| Red Hat JBoss Enterprise Application Platform 7.0 for RHEL 6 | eap7-activemq-artemis-0:1.1.0-19.SP24_redhat_1.1.ep7.el6 | Fixed 2018-01-03 | RHSA-2018:0002 |
| Red Hat JBoss Enterprise Application Platform 7.0 for RHEL 6 | eap7-hibernate-0:5.0.16-1.Final_redhat_1.1.ep7.el6 | Fixed 2018-01-03 | RHSA-2018:0002 |
| Red Hat JBoss Enterprise Application Platform 7.0 for RHEL 6 | eap7-ironjacamar-0:1.3.8-1.Final_redhat_1.1.ep7.el6 | Fixed 2018-01-03 | RHSA-2018:0002 |
| Red Hat JBoss Enterprise Application Platform 7.0 for RHEL 6 | eap7-jboss-remoting-0:4.0.25-1.Final_redhat_1.1.ep7.el6 | Fixed 2018-01-03 | RHSA-2018:0002 |
| Red Hat JBoss Enterprise Application Platform 7.0 for RHEL 6 | eap7-jboss-xnio-base-0:3.4.7-1.Final_redhat_1.1.ep7.el6 | Fixed 2018-01-03 | RHSA-2018:0002 |
| Red Hat JBoss Enterprise Application Platform 7.0 for RHEL 6 | eap7-jgroups-0:3.6.12-1.Final_redhat_1.1.ep7.el6 | Fixed 2018-01-03 | RHSA-2018:0002 |
| Red Hat JBoss Enterprise Application Platform 7.0 for RHEL 6 | eap7-resteasy-0:3.0.19-7.SP5_redhat_1.1.ep7.el6 | Fixed 2018-01-03 | RHSA-2018:0002 |
| Red Hat BPM Suite 6 | lucene | Not affected | |
| Red Hat Enterprise Linux 5 | lucene | Not affected | |
| Red Hat Enterprise Linux 6 | lucene | Will not fix | |
| Red Hat Fuse 7 | solr | Not affected | |
| Red Hat JBoss BRMS 6 | lucene | Not affected | |
| Red Hat JBoss Data Grid 7 | lucene | Affected | |
| Red Hat JBoss Enterprise Application Platform 6 | lucene | Not affected | |
| Red Hat JBoss Enterprise Application Platform 6 | solr | Not affected | |
| Red Hat JBoss Fuse 6 | camel | Not affected | |
| Red Hat JBoss Portal 6 | solr | Not affected | |
| 35 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-12629.
Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.
Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.