CVE-2017-12629

CVE-2017-12629 is a critical-severity vulnerability in Apache Solr with a CVSS 3.x base score of 9.8. Its EPSS exploit-prediction score of 92% places it in the 100th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-611.

Key facts

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.

Frequently asked questions

What is 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 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.
How severe is CVE-2017-12629?
CVE-2017-12629 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
Is CVE-2017-12629 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 92% (100th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2017-12629?
CVE-2017-12629 primarily affects Apache Solr. In total, 7 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2017-12629?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
When was CVE-2017-12629 published?
CVE-2017-12629 was published on 2017-10-14 and last updated on 2026-06-17.

References

Affected products (7)

More vulnerabilities in Apache Solr

All CVEs affecting Apache Solr →

Other CWE-611 (Improper Restriction of XML External Entity Reference (XXE)) vulnerabilities

Browse all CWE-611 (Improper Restriction of XML External Entity Reference (XXE)) vulnerabilities →