SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

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.

EXPLOIT ✓CRITICAL 9.8EPSS 91.9%

Does this matter?

EPSS puts the probability of exploitation in the next 30 days at 91.9%, higher than 100% of all known CVEs. Patch or mitigate before the next change window.

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.

CVSS 3.1
9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
91.90% probability · 100th percentile
Public exploits
1 in Exploit-DB · verified · first 17 October 2017
CISA KEV
Not listed
Weakness
CWE-611
Affected
apache/solr · redhat/jboss enterprise application platform · debian/debian linux · canonical/ubuntu linux
Source
security@apache.org
EPSS trend
0%48%95%27 October 2026: 91.90%27 October 202627 October 2026

EPSS 91.9% since 27 October 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.

Public exploits (1)

Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.

EDB-IDTitleTypePublishedVerified
EDB-43009source ↗Apache Solr 7.0.1 - XML External Entity Expansion / Remote Code Executionxml · Michael Stepankin & Olga Barinovawebapps17 October 2017yes

References

Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.