CRITICAL 9.8

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)

ArtifactAffected versionsFixed 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

1affected artifacts
21affected versions
369dependent artifacts (est.)
33,333dependent versions

54% of the dependent artifacts (201) still pull an affected version in their latest release.

DepthDependent 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

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.

References

Advisorynvd.nist.gov
Advisorygithub.com
Packagegithub.com
Webgithub.com
Webgithub.com
Webgithub.com
Webexploit-db.com
Webdebian.org
Webusn.ubuntu.com
Webtwitter.com
Webtwitter.com
Webtwitter.com
Webs.apache.org
Weblists.debian.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Webissues.apache.org
Webaccess.redhat.com
Webaccess.redhat.com
Webaccess.redhat.com
Webaccess.redhat.com
Webaccess.redhat.com
Webaccess.redhat.com
Webaccess.redhat.com
Webaccess.redhat.com
Webaccess.redhat.com
Webmail-archives.us.apache.org
Webopenwall.com
Websecurityfocus.com