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.
References
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
AND |
|
Configuration 3 (hide)
|
Configuration 4 (hide)
|
Information
Published : 2017-10-14 16:29
Updated : 2022-04-19 09:06
NVD link : CVE-2017-12629
Mitre link : CVE-2017-12629
JSON object : View
CWE
CWE-611
Improper Restriction of XML External Entity Reference
Products Affected
redhat
- jboss_enterprise_application_platform
- enterprise_linux_server
apache
- solr
canonical
- ubuntu_linux
debian
- debian_linux