CVE-2017-3163: Path Traversal Vulnerability in org.apache.solr:solr-core
Summary
CVE-2017-3163: Improper Limitation of a Pathname ('Path Traversal') in org.apache.solr:solr-core. Affects org.apache.solr:solr-core across 2 version ranges.
< 5.5.4
>= 6.0.0, < 6.4.1
Fixed in 5.5.4 or 6.4.1, depending on the release line you run. How to fix ↓
Also tracked for
- lucene-solr · Debian:11
The same CVE-2017-3163 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
org.apache.solr:solr-core is a package in the Maven ecosystem that provides the core functionality for Apache Solr, an open-source search platform. Solr allows users to create and manage search indexes, perform search queries, and replicate indexes across multiple nodes. The Index Replication feature in Solr enables nodes to pull index files from a master/leader node using an HTTP API. This vulnerability affects Solr versions before 5.5.4 and 6.x before 6.4.1.
Vulnerability Detail
The vulnerability, identified as CVE-2017-3163, is an improper limitation of a pathname (path traversal) issue in org.apache.solr:solr-core. When using the Index Replication feature, Solr nodes can accept a file name via an HTTP API without proper validation. This allows an attacker to craft a special request involving path traversal, potentially exposing any file readable to the Solr server process. However, Solr servers protected by firewall rules and authentication are not at risk, as only trusted clients and users with direct HTTP access can exploit this vulnerability.
How To Fix
Fixed versions by release line
The minimum fixed version depends on the release line you run.
-
< 5.5.45.5.4 -
>= 6.0.0, < 6.4.16.4.1
Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →
Workaround
There is no specific workaround provided for this vulnerability. It is essential to upgrade to the fixed versions mentioned above to mitigate the risk.
Conclusion
The path traversal vulnerability in org.apache.solr:solr-core (CVE-2017-3163) can be mitigated by upgrading to the recommended fixed versions. It is crucial to keep software up to date to ensure the security of the system. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for org.apache.solr:solr-core →
FAQ
The vulnerability allows an attacker to read any file accessible to the Solr server process, potentially exposing sensitive information.
No, Solr servers protected by firewall rules and authentication are not at risk, as only trusted clients and users with direct HTTP access can exploit this vulnerability.
Solr versions before 5.5.4 and 6.x before 6.4.1 are affected.
There is no known exploit available for this vulnerability at the time of this report.
Yes, upgrading to Apache Solr version 5.5.4 or later (for Solr 5.x) or version 6.4.1 or later (for Solr 6.x) fixes this vulnerability.
Related vulnerabilities
Recent vulnerabilities recorded for org.apache.solr:solr-core.