CVE-2017-12629
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.
Risk Information
Associated Vulnerability
| Vulnerability | OS Platform |
|---|---|
| Vulnerabilities CVE-2017-7660,CVE-2017-12629 are fixed in Apache-solr-core 5.5.5 | Windows |
| Vulnerabilities CVE-2017-12629 are fixed in Apache-solr-core 7.1.0 | Windows |
| Vulnerabilities CVE-2017-12629 are fixed in Apache-solr-core 6.6.2 | Windows |
| Multiple Vulnerabilities are affected in Red Hat JBoss Enterprise Application Platform 7 7.0.0 | Windows |
| Multiple Vulnerabilities are affected in Red Hat JBoss Enterprise Application Platform 7 7.1.0 | Windows |
| Full-text search engine library for Java - additional libraries (USN-4259-1) solr-jetty_3.6.2+dfsg-8ubuntu0.1_all.deb | Linux |
| Full-text search engine library for Java - additional libraries (USN-4259-1) solr-common_3.6.2+dfsg-8ubuntu0.1_all.deb | Linux |
| Full-text search engine library for Java - additional libraries (USN-4259-1) solr-tomcat_3.6.2+dfsg-8ubuntu0.1_all.deb | Linux |
| Full-text search engine library for Java - additional libraries (USN-4259-1) libsolr-java_3.6.2+dfsg-8ubuntu0.1_all.deb | Linux |
| Full-text search engine library for Java - additional libraries (USN-4259-1) liblucene3-java_3.6.2+dfsg-8ubuntu0.1_all.deb | Linux |
| Full-text search engine library for Java - additional libraries (USN-4259-1) liblucene3-contrib-java_3.6.2+dfsg-8ubuntu0.1_all.deb | Linux |
| Vulnerabilities CVE-2017-7660,CVE-2017-12629 are fixed in Apache-solr-core for Linux 5.5.5 | Linux |
| Vulnerabilities CVE-2017-12629 are fixed in Apache-solr-core for Linux 7.1.0 | Linux |
| Vulnerabilities CVE-2017-12629 are fixed in Apache-solr-core for Linux 6.6.2 | Linux |
Patch Details
No records foundReferences
https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234