solr -- Code execution via entity expansion
Solr developers report:
Lucene XML parser does not explicitly prohibit doctype declaration and expansion of external entities which leads to arbitrary HTTP requests to the local SOLR instance and to bypass all firewall restrictions.
Solr "RunExecutableListener" class can be used to execute arbitrary commands on specific events, for example after each update query. The problem is that such listener can be enabled with any parameters just by using Config API with add-listener command.
Copyright © 2003-2005 Jacques Vidrine and contributors.
Please see the source of this document for full copyright