CVE-2017-3163

NameCVE-2017-3163
DescriptionWhen using the Index Replication feature, Apache Solr nodes can pull index files from a master/leader node using an HTTP API which accepts a file name. However, Solr before 5.5.4 and 6.x before 6.4.1 did not validate the file name, hence it was possible to craft a special request involving path traversal, leaving any file readable to the Solr server process exposed. Solr servers protected and restricted by firewall rules and/or authentication would not be at risk since only trusted clients and users would gain direct HTTP access.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1046-1, DSA-4124-1
NVD severitymedium (attack range: remote)
Debian Bugs867712

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
lucene-solr (PTS)wheezy3.6.0+dfsg-1+deb7u1vulnerable
wheezy (security)3.6.0+dfsg-1+deb7u3fixed
jessie3.6.2+dfsg-5vulnerable
jessie (security)3.6.2+dfsg-5+deb8u1fixed
stretch, stretch (security)3.6.2+dfsg-10+deb9u1fixed
buster, sid3.6.2+dfsg-11fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
lucene-solrsource(unstable)3.6.2+dfsg-11medium867712
lucene-solrsourcejessie3.6.2+dfsg-5+deb8u1mediumDSA-4124-1
lucene-solrsourcestretch3.6.2+dfsg-10+deb9u1mediumDSA-4124-1
lucene-solrsourcewheezy3.6.0+dfsg-1+deb7u2mediumDLA-1046-1

Notes

https://issues.apache.org/jira/browse/SOLR-10031
https://github.com/apache/lucene-solr/commit/ae789c252687dc8a18bfdb677f2e6cd14570e4db

Search for package or bug name: Reporting problems