CVE-2017-3164 Server-Side Request Forgery (SSRF) in org.apache.solr:solr-core

High 7.5 Published Updated

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.

PackageAffectedFixed in
org.apache.solr:solr-core MavenFrom 1.3.07.7.0
org.apache.solr:solr-core MavenFrom 1.3.07.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.

Sources

Also known as DEBIAN-CVE-2017-3164, GHSA-vrh8-27q8-fr8f, UBUNTU-CVE-2017-3164.

Is CVE-2017-3164 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free