CVE-2017-3163
Vulnerability Summary
Timeline
Description
When 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.
CVSS Metrics
- v3.0•HIGH•Score: 7.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- v2.0•MEDIUM•Score: 5AV:N/AC:L/Au:N/C:P/I:N/A:N
EPSS Trends
Current EPSS score: 11.86%• Percentile: 94%
Techniques & Countermeasures
- CWE-22•Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Affected Systems
- apache software foundation•apache solr
1.4.0 to 5.5.3 | 6.0.0 to 6.4.0
- Unknown•Solr
≤ 5.5.3 | 6.0.0 | 6.0.1 | 6.1.0 | 6.2.0 | 6.2.1 | 6.3.0 | 6.4.0
- org.apache.solr•solr-core
< 5.5.4 | ≥ 6.0.0, < 6.4.1
References (10)
- https://access.redhat.com/errata/RHSA-2018:1448
- https://access.redhat.com/errata/RHSA-2018:1449
- https://access.redhat.com/errata/RHSA-2018:1450
- https://access.redhat.com/errata/RHSA-2018:1451
- https://lists.apache.org/thread.html/a6a33a186f293f9f9aecf3bd39c76252bfc49a79de4321dd2a53b488%40%3Csolr-user.lucene.apache.org%3E
- https://access.redhat.com/errata/RHSA-2018:1447
- https://www.debian.org/security/2018/dsa-4124
- https://nvd.nist.gov/vuln/detail/CVE-2017-3163
- https://github.com/advisories/GHSA-387v-84cv-9qmc
- https://lists.apache.org/thread.html/a6a33a186f293f9f9aecf3bd39c76252bfc49a79de4321dd2a53b488@%3Csolr-user.lucene.apache.org%3E