patchminder
Weaponized · Nuclei CVE-2017-12629

Remote code executionin the org.apache.solr:solr-core package.

Published 14 Oct 2017 · Updated 5 Aug 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Nuclei exploit is public.

Attack code is public
Severity
Critical 9.8
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 92.5% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 5.5.5, 6.6.2, 7.1.0
In plain words

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 now
  • Upgrade org.apache.solr:solr-core (Maven) to 5.5.5, 6.6.2, 7.1.0 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Apache Solr before 7.1 with Apache Lucene before 7.1
Not confirmed
Not confirmed
CVE record
org.apache.solr:solr-core (Maven)
7.0.0 to before 7.1.0
7.1.0
GitHub advisory
org.apache.solr:solr-core (Maven)
6.0.0 to before 6.6.2
6.6.2
GitHub advisory
org.apache.solr:solr-core (Maven)
5.5.0 to before 5.5.5
5.5.5
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 7 Aug 2017
    CVE ID reserved by apache.
  2. 14 Oct 2017
    Published in the CVE List.
  3. 5 Aug 2024
    CVE record last updated.
  4. 1 Aug 2025
    First public proof of concept on GitHub.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Nuclei).

Metasploit module
None known
Nuclei scan template
Available
Exploit-DB
1 entry
GitHub proof of concepts
4 repositories
Exploit-DBEDB-ID 43009web application exploit for xml, published 17 Oct 2017, verified by Exploit-DB
GitHubno warning signs foundcaptain-woof/cve-2017-126290 stars · created 1 Aug 2025Remote 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 c
GitHubno warning signs foundCyberCTF/vulhub-solr-cve-2017-12629-rce0 stars · created 8 Oct 2026Vulhub solr/CVE-2017-12629-RCE: Apache Solr RunExecutableListener RCE (CVE-2017-12629), run with Isoloom
GitHubno warning signs foundgooglesky/CVE-2017-126290 stars · created 26 Nov 2026Solr ConfigAPI add-listener reaches RunExecutableListener for RCE. Fixed in 7.1. Differential: listener added on vuln, refused on fixed
GitHubno warning signs foundJonathan1010/CVE-2017-126290 stars · created 4 Dec 2026RCE POC: scanner + exploit for CVE-2017-12629
Referencewww.exploit-db.comnamed as exploit in the CVE record

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other vulnerabilities in this package

References
Cite this page

Patchminder. CVE-2017-12629: Remote code execution in the org.apache.solr:solr-core package. https://patchminder.com/cve/cve-2017-12629/ (accessed 5 December 2026).