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 Details
- CVSS 3.1 Base Score: 9.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | Upgrade lucene-solr | Mar 1, 2018 | Oct 13, 2017 |
| Freebsd | — | Upgrade apache-solr | Oct 13, 2017 | Oct 13, 2017 |
| Red Hat Jboss Eap | — | Upgrade Red Hat JBoss EAP to the latest version | Sep 19, 2024 | Oct 12, 2017 |
| Red_hat Jboss_eap | — | — | Feb 2, 2021 | Oct 14, 2017 |
| Redhat_linux | — | No solution exists | Jul 9, 2025 | Oct 12, 2017 |
| Ubuntu | — | Upgrade solr-jettyUpgrade liblucene3-javaUpgrade libsolr-javaUpgrade solr-commonUpgrade solr-tomcatUpgrade liblucene3-contrib-java | Jan 30, 2020 | Oct 13, 2017 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub