CVE-2017-12629
Remote code execution occurs in Apache Solr
Description
Remote code execution occurs in Apache Solr before versions 5.5.5, 6.6.2 and 7.1.0 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
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.solr » solr-core | >= 5.5.0, < 5.5.5>= 6.0.0, < 6.6.2>= 7.0.0, < 7.1.0 | 5.5.5, 6.6.2, 7.1.0 |
Blast radius
54% of the dependent artifacts (201) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 5,509 |
| 2 hops | 6,063 |
| 3 hops | 10,362 |
| 4 hops | 10,269 |
| 5 hops | 1,129 |
| 6 hops | 1 |
Most used dependents
- org.apache.solr » solr-test-framework181 usages
- org.opencms » opencms-core134 usages
- org.phenotips » vocabularies-api46 usages
- org.apache.solr » solr-cell32 usages
- org.xwiki.platform » xwiki-platform-search-solr-api31 usages
- org.apache.solr » solr-analysis-extras31 usages
- org.apache.atlas » atlas-notification24 usages
- org.apache.solr » solr-dataimporthandler23 usages
- org.xwiki.platform » xwiki-platform-search-solr-query19 usages
- com.logicaldoc » logicaldoc-core19 usages
- org.apache.atlas » atlas-common17 usages
- org.apache.atlas » atlas-client-v115 usages
- org.xwiki.platform » xwiki-platform-search-solr-ui15 usages
- org.phenotips » patient-similarity-data-api15 usages
- org.opencms » org.opencms.workplace.administration15 usages
Computed from the dependency graph of build 20261125.0317 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
