CVE-2024-34361 Pi-hole Blind Server-Side Request Forgery (SSRF) vulnerability can lead to Remote Code Execution (RCE)

High 8.6 Published Updated

An authenticated user can exploit SSRF in Pi-hole to make internal requests, potentially leading to remote code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-34361?

CVE-2024-34361 is a high-severity server-side request forgery vulnerability in pi-hole, published on 5 Jul 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Pi-hole is a DNS sinkhole that protects devices from unwanted content without installing any client-side software. A vulnerability in versions prior to 5.18.3 allows an authenticated user to make internal requests to the server via the `gravity_DownloadBlocklistFromUrl()` function. Depending on some circumstances, the vulnerability could lead to remote command execution. Version 5.18.3 contains a patch for this issue.

Weakness: CWE-918

Which versions are affected by CVE-2024-34361?

It affects 1 product.

Products include Pi-Hole Pi-Hole.

How do I fix CVE-2024-34361?

No fix has been published for CVE-2024-34361 yet. Limit exposure of the affected software until one is available.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2024-34361 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-34361 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-jg6g-rrj6-xfg6.

Is CVE-2024-34361 in your software?

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

Check your SBOMs for free