CVE-2017-12629: 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…
Noroxi assessment
Priority: This week (action score 67/100)
- A ready-made attack module is public (Nuclei); exploiting it takes no special expertise.
- Public proof-of-concept code exists (Exploit-DB, GitHub); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 92.4% (FIRST EPSS); higher than 99.8% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: n/a Apache Solr before 7.1 with Apache Lucene before 7.1 5.5.5, 6.6.2.
Don’t wait for the next maintenance window. Upgrade to n/a Apache Solr before 7.1 with Apache Lucene before 7.1 5.5.5, 6.6.2 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Oct 14, 2017
- Updated
- Jun 16, 2026
- EPSS
- 92.4% · 99th percentile
- CWE
- CWE-611
Report tools
Action score
67
Don’t wait for the next maintenance window.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 28 / 30 · 92.4%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| apache | solr | cpe:2.3:a:apache:solr |
| redhat | jboss enterprise application platform | cpe:2.3:a:redhat:jboss_enterprise_application_platform |
| redhat | enterprise linux server | cpe:2.3:o:redhat:enterprise_linux_server |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (apache). Independent of NVD's CPE analysis and usually ahead of it.
n/a Apache Solr before 7.1 with Apache Lucene before 7.1
- lucene-solr 7.2.0, lucene-solr 8.0.0not affected
- Apache Solr before 7.1 with Apache Lucene before 7.1affected
- lucene-solr and later · before 7.1.0affectedfixed in 6.6.2, 5.5.5
- lucene-solr and later · before 5.3.1-redhat-2affected
Affected versions · NVD (9)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- apache solr5.5.0 and later · up to 5.5.4 inclusive
- apache solr6.0.0 and later · up to 6.6.1 inclusive
- apache solr7.0.0 and later · up to 7.0.1 inclusive
- canonical ubuntu linux16.04
- debian debian linux7.0
- debian debian linux8.0
- debian debian linux9.0
- redhat jboss enterprise application platform7.0.0
- redhat jboss enterprise application platform7.1.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | lucene-solr | before 3.6.2+dfsg-11 | 3.6.2+dfsg-11 |
| Debian:7 | lucene-solr | before 3.6.0+dfsg-1+deb7u3 | 3.6.0+dfsg-1+deb7u3 |
| Debian:8 | lucene-solr | before 3.6.2+dfsg-5+deb8u1 | 3.6.2+dfsg-5+deb8u1 |
| Debian:9 | lucene-solr | before 3.6.2+dfsg-10+deb9u1 | 3.6.2+dfsg-10+deb9u1 |
| Maven | org.apache.solr:solr-core | from 5.5.0 · before 5.5.5 | 5.5.5 |
| Maven | org.apache.solr:solr-core | from 6.0.0 · before 6.6.2 | 6.6.2 |
| Maven | org.apache.solr:solr-core | from 7.0.0 · before 7.1.0 | 7.1.0 |
| Red Hat:jboss_enterprise_application_platform:7::el6 | eap7-activemq-artemis | before 0:1.1.0-19.SP24_redhat_1.1.ep7.el6 | 0:1.1.0-19.SP24_redhat_1.1.ep7.el6 |
| Red Hat:jboss_enterprise_application_platform:7::el6 | eap7-activemq-artemis-cli | before 0:1.1.0-19.SP24_redhat_1.1.ep7.el6 | 0:1.1.0-19.SP24_redhat_1.1.ep7.el6 |
| Red Hat:jboss_enterprise_application_platform:7::el6 | eap7-activemq-artemis-commons | before 0:1.1.0-19.SP24_redhat_1.1.ep7.el6 | 0:1.1.0-19.SP24_redhat_1.1.ep7.el6 |
| Red Hat:jboss_enterprise_application_platform:7::el6 | eap7-activemq-artemis-core-client | before 0:1.1.0-19.SP24_redhat_1.1.ep7.el6 | 0:1.1.0-19.SP24_redhat_1.1.ep7.el6 |
| Red Hat:jboss_enterprise_application_platform:7::el6 | eap7-activemq-artemis-dto | before 0:1.1.0-19.SP24_redhat_1.1.ep7.el6 | 0:1.1.0-19.SP24_redhat_1.1.ep7.el6 |
| Red Hat:jboss_enterprise_application_platform:7::el6 | eap7-activemq-artemis-hornetq-protocol | before 0:1.1.0-19.SP24_redhat_1.1.ep7.el6 | 0:1.1.0-19.SP24_redhat_1.1.ep7.el6 |
| Red Hat:jboss_enterprise_application_platform:7::el6 | eap7-activemq-artemis-hqclient-protocol | before 0:1.1.0-19.SP24_redhat_1.1.ep7.el6 | 0:1.1.0-19.SP24_redhat_1.1.ep7.el6 |
| Red Hat:jboss_enterprise_application_platform:7::el6 | eap7-activemq-artemis-jms-client | before 0:1.1.0-19.SP24_redhat_1.1.ep7.el6 | 0:1.1.0-19.SP24_redhat_1.1.ep7.el6 |
| Red Hat:jboss_enterprise_application_platform:7::el6 | eap7-activemq-artemis-jms-server | before 0:1.1.0-19.SP24_redhat_1.1.ep7.el6 | 0:1.1.0-19.SP24_redhat_1.1.ep7.el6 |
| Red Hat:jboss_enterprise_application_platform:7::el6 | eap7-activemq-artemis-journal | before 0:1.1.0-19.SP24_redhat_1.1.ep7.el6 | 0:1.1.0-19.SP24_redhat_1.1.ep7.el6 |
| Red Hat:jboss_enterprise_application_platform:7::el6 | eap7-activemq-artemis-native | before 0:1.1.0-19.SP24_redhat_1.1.ep7.el6 | 0:1.1.0-19.SP24_redhat_1.1.ep7.el6 |
| Red Hat:jboss_enterprise_application_platform:7::el6 | eap7-activemq-artemis-ra | before 0:1.1.0-19.SP24_redhat_1.1.ep7.el6 | 0:1.1.0-19.SP24_redhat_1.1.ep7.el6 |
| Red Hat:jboss_enterprise_application_platform:7::el6 | eap7-activemq-artemis-selector | before 0:1.1.0-19.SP24_redhat_1.1.ep7.el6 | 0:1.1.0-19.SP24_redhat_1.1.ep7.el6 |
| Red Hat:jboss_enterprise_application_platform:7::el6 | eap7-activemq-artemis-server | before 0:1.1.0-19.SP24_redhat_1.1.ep7.el6 | 0:1.1.0-19.SP24_redhat_1.1.ep7.el6 |
| Red Hat:jboss_enterprise_application_platform:7::el6 | eap7-activemq-artemis-service-extensions | before 0:1.1.0-19.SP24_redhat_1.1.ep7.el6 | 0:1.1.0-19.SP24_redhat_1.1.ep7.el6 |
| Red Hat:jboss_enterprise_application_platform:7::el6 | eap7-hibernate | before 0:5.0.16-1.Final_redhat_1.1.ep7.el6 | 0:5.0.16-1.Final_redhat_1.1.ep7.el6 |
| Red Hat:jboss_enterprise_application_platform:7::el6 | eap7-hibernate-core | before 0:5.0.16-1.Final_redhat_1.1.ep7.el6 | 0:5.0.16-1.Final_redhat_1.1.ep7.el6 |
+96
Same product
apache: all recordsOther highest-scoring records for the same primary product.
- CVE-2019-17558Apache Solr 5.0.0 to Apache Solr 8.3.1 are vulnerable to a Remote Code Execution through the VelocityResponseWriter.KEV90Now
- CVE-2019-0193In Apache Solr, the DataImportHandler, an optional but popular module to pull in data from databases and other sources, has a feature in…KEV83Now
- CVE-2024-45216Apache Solr: Authentication bypass possible using a fake URL Path ending67This week
Published before and after this one in the same product
- ← EarlierCVE-2017-3163Aug 30, 2017 · When using the Index Replication feature, Apache Solr nodes can pull index files from a master/leader node using an HTTP API which accepts…32Monitor
- ← EarlierCVE-2017-9803Sep 18, 2017 · Apache Solr's Kerberos plugin can be configured to use delegation tokens, which allows an application to reuse the authentication of an…31Monitor
- Later →CVE-2017-1000190Nov 17, 2017 · SimpleXML (latest version 2.7.1) is vulnerable to an XXE vulnerability resulting SSRF, information disclosure, DoS and so on.37Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| n/a Apache Solr before 7.1 with Apache Lucene before 7.1 | 5.5.5 | Vendor (CNA) |
| n/a Apache Solr before 7.1 with Apache Lucene before 7.1 | 6.6.2 | Vendor (CNA) |
| debian:lucene-solr | 3.6.2+dfsg-11 · Debian:12 | Package registry (OSV) |
| Maven:org.apache.solr:solr-core | 5.5.5 | Package registry (OSV) |
| Maven:org.apache.solr:solr-core | 6.6.2 | Package registry (OSV) |
| Maven:org.apache.solr:solr-core | 7.1.0 | Package registry (OSV) |
| red hat:eap7-lucene-analyzers-common | 0:5.3.1-4.redhat_2.1.ep7.el6 · Red Hat:jboss_enterprise_application_platform:7::el6 | Package registry (OSV) |
| red hat:eap7-lucene-backward-codecs | 0:5.3.1-4.redhat_2.1.ep7.el6 · Red Hat:jboss_enterprise_application_platform:7::el6 | Package registry (OSV) |
| red hat:eap7-lucene-core | 0:5.3.1-4.redhat_2.1.ep7.el6 · Red Hat:jboss_enterprise_application_platform:7::el6 | Package registry (OSV) |
| red hat:eap7-lucene-facet | 0:5.3.1-4.redhat_2.1.ep7.el6 · Red Hat:jboss_enterprise_application_platform:7::el6 | Package registry (OSV) |
| red hat:eap7-lucene-misc | 0:5.3.1-4.redhat_2.1.ep7.el6 · Red Hat:jboss_enterprise_application_platform:7::el6 | Package registry (OSV) |
| red hat:eap7-lucene-queries | 0:5.3.1-4.redhat_2.1.ep7.el6 · Red Hat:jboss_enterprise_application_platform:7::el6 | Package registry (OSV) |
| red hat:eap7-lucene-queryparser | 0:5.3.1-4.redhat_2.1.ep7.el6 · Red Hat:jboss_enterprise_application_platform:7::el6 | Package registry (OSV) |
| red hat:eap7-lucene-solr | 0:5.3.1-4.redhat_2.1.ep7.el6 · Red Hat:jboss_enterprise_application_platform:7::el6 | Package registry (OSV) |
| red hat:rh-java-common-lucene | 0:4.8.0-6.9.el6 · Red Hat:rhel_software_collections:3::el6 | Package registry (OSV) |
| red hat:rh-java-common-lucene-analysis | 0:4.8.0-6.9.el6 · Red Hat:rhel_software_collections:3::el6 | Package registry (OSV) |
| red hat:rh-java-common-lucene-analyzers-phonetic | 0:4.8.0-6.9.el6 · Red Hat:rhel_software_collections:3::el6 | Package registry (OSV) |
| red hat:rh-java-common-lucene-analyzers-smartcn | 0:4.8.0-6.9.el6 · Red Hat:rhel_software_collections:3::el6 | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Exploit-DB entry ×1
- Nuclei detection template ×1
- Proof-of-concept repository on GitHub ×2
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | webapps | 2017-10-17 |
| Nuclei detection template | Nuclei template CVE-2017-12629 | — |
| Proof-of-concept repository on GitHub | stars:0 | 2025-08-01 |
| Proof-of-concept repository on GitHub | stars:0 | 2026-10-08 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- First PoC+2 d
- TodayNov 16, 2026+3320 d
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-611 · Improper Restriction of XML External Entity ReferenceCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (19 more)Show less
- openwall.com/lists/oss-security/2017/10/13/1
- www.securityfocus.com/bid/101261
- access.redhat.com/errata/RHSA-2017:3123
- access.redhat.com/errata/RHSA-2017:3124
- access.redhat.com/errata/RHSA-2017:3244
- access.redhat.com/errata/RHSA-2017:3451
- access.redhat.com/errata/RHSA-2017:3452
- access.redhat.com/errata/RHSA-2018:0002
- access.redhat.com/errata/RHSA-2018:0003
- access.redhat.com/errata/RHSA-2018:0004
- access.redhat.com/errata/RHSA-2018:0005
- lists.apache.org/thread.html/r140128dc6bb4f4e0b6a39e962c7ca25a8cbc8e48ed766176c931fccc%40%3Cusers.solr.apache.org%3E
- lists.apache.org/thread.html/r26c996b068ef6c5e89aa59acb769025cfd343a08e63fbe9e7f3f720f%40%3Coak-issues.jackrabbit.apache.org%3E
- lists.apache.org/thread.html/r3da74965aba2b5f5744b7289ad447306eeb2940c872801819faa9314%40%3Cusers.solr.apache.org%3E
- lists.apache.org/thread.html/r95df34bb158375948da82b4dfe9a1b5d528572d586584162f8f5aeef%40%3Cusers.solr.apache.org%3E
- lists.debian.org/debian-lts-announce/2018/01/msg00028.html
- twitter.com/ApacheSolr/status/918731485611401216
- twitter.com/joshbressers/status/919258716297420802
- twitter.com/searchtools_avi/status/918904813613543424
Vendor advisories and official records. Exploit/PoC links are deliberately left out.