CVE-2017-3164 Server-Side Request Forgery (SSRF) in org.apache.solr:solr-core
A remote attacker can force Apache Solr to perform HTTP GET requests to arbitrary URLs via the shards parameter, enabling Server Side Request Forgery.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-3164?
CVE-2017-3164 is a high-severity server-side request forgery vulnerability in Apache Solr, published on 8 Mar 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Server Side Request Forgery in Apache Solr, versions 1.3 until 7.6 (inclusive). Since the "shards" parameter does not have a corresponding whitelist mechanism, a remote attacker with access to the server could make Solr perform an HTTP GET request to any reachable URL.
Weakness: CWE-918
Which versions are affected by CVE-2017-3164?
2 open source packages ship an affected version, including org.apache.solr:solr-core. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.solr:solr-core Maven | From 1.3.0 | 7.7.0 |
org.apache.solr:solr-core Maven | From 1.3.0 | 7.7.0 |
Products include Apache Solr.
How do I fix CVE-2017-3164?
Upgrade org.apache.solr:solr-core to 7.7.0 or later.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2017-3164 being exploited?
There is no known exploitation of CVE-2017-3164 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Apache Solr
- CVE-2019-17558 Apache Solr VelocityResponseWriter Plug-In Remote Code Execution
- CVE-2019-0193 Apache Solr DataImportHandler Code Injection
- CVE-2024-45216 Apache Solr: Authentication bypass possible using a fake URL Path ending
- CVE-2021-44548 Apache Solr information disclosure vulnerability through DataImportHandler
- CVE-2021-27905 SSRF vulnerability with the Replication handler
Sources
Also known as DEBIAN-CVE-2017-3164, GHSA-vrh8-27q8-fr8f, UBUNTU-CVE-2017-3164.