# CVE-2017-12629: Apache Solr before 7.1 with Apache Lucene before 7.1 - Exploited (CISA KEV): no - Published: 2017-10-14 - CVSS: not scored - EPSS: 91.9% (100th percentile) 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. ## Edge WAF coverage (claimed by vendors, not measured) | Vendor | Status | First rule | Days after publication | |---|---|---|---| | Cloudflare | Before feed history | — | — | | AWS | Before feed history | — | — | | Microsoft Azure | No public claim | — | — | | Google Cloud | Before feed history | — | — | | Fastly | Before feed history | — | — | | F5 | Rule published | 2023-07-11 | — | | Akamai | No public source | — | — | | OWASP CRS | Before feed history | — | — | ### F5 - 2023-07-11 · updated · rule 200018036 > Updated: signature 200018036 "External entity DOCTYPE injection attempt (Parameter)" (Other Application Attacks, risk Medium), systems: System Independent. References: CVE-2017-12629. Source: https://docs.cloud.f5.com/docs-v2/platform/changelogs/security-details-changelog - 2023-07-11 · updated · rule 200018037 > Updated: signature 200018037 "External entity DOCTYPE injection attempt" (Other Application Attacks, risk Medium), systems: System Independent. References: CVE-2017-12629. Source: https://docs.cloud.f5.com/docs-v2/platform/changelogs/security-details-changelog - 2023-08-08 · updated · rule 200018036 > Updated: signature 200018036 "External entity DOCTYPE injection attempt (Parameter)" (Other Application Attacks, risk Medium), systems: System Independent. References: CVE-2017-12629. Source: https://docs.cloud.f5.com/docs-v2/platform/changelogs/security-details-changelog - 2023-08-08 · updated · rule 200018037 > Updated: signature 200018037 "External entity DOCTYPE injection attempt" (Other Application Attacks, risk Medium), systems: System Independent. References: CVE-2017-12629. Source: https://docs.cloud.f5.com/docs-v2/platform/changelogs/security-details-changelog - 2024-03-12 · updated · rule 200018036 > Updated: signature 200018036 "External entity DOCTYPE injection attempt (Parameter)" (Other Application Attacks, risk Medium), systems: System Independent. References: CVE-2017-12629. Source: https://docs.cloud.f5.com/docs-v2/platform/changelogs/security-details-changelog - 2024-03-12 · updated · rule 200018037 > Updated: signature 200018037 "External entity DOCTYPE injection attempt" (Other Application Attacks, risk Medium), systems: System Independent. References: CVE-2017-12629. Source: https://docs.cloud.f5.com/docs-v2/platform/changelogs/security-details-changelog ## Our test (measured) - OWASP Core Rule Set 4.25.0, paranoia level 1, anomaly threshold 5, default CRS settings: partial (1 of 2 requests blocked), template CVE-2017-12629, 2026-11-02 - OWASP Core Rule Set 4.25.0, paranoia level 2, anomaly threshold 5, default CRS settings: partial (1 of 2 requests blocked), template CVE-2017-12629, 2026-11-02 "No public claim" means no vendor statement names this CVE; "Before feed history" means the CVE is older than the vendor feed. In both cases generic rules may still block it. HTML: https://cve.vigilbase.com/cve/CVE-2017-12629 · JSON: https://cve.vigilbase.com/api/v1/cves/CVE-2017-12629