CVE-2024-5021 WordPress Picture / Portfolio / Media Gallery <= 3.0.1 - Unauthenticated Server-Side Request Forgery

Critical 9.3 Published Updated

Unauthenticated attackers can exploit SSRF in the WordPress Picture / Portfolio / Media Gallery plugin to query and modify internal services.

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

What is CVE-2024-5021?

CVE-2024-5021 is a critical server-side request forgery vulnerability in nimble3 WordPress Picture / Portfolio / Media Gallery, published on 19 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The WordPress Picture / Portfolio / Media Gallery plugin for WordPress is vulnerable to Server-Side Request Forgery in all versions up to, and including, 3.0.1 via the 'file_get_contents' function. This makes it possible for unauthenticated attackers to make web requests to arbitrary locations originating from the web application and can be used to query and modify information from internal services.

Weakness: CWE-918

Which versions are affected by CVE-2024-5021?

How do I fix CVE-2024-5021?

No fix has been published for CVE-2024-5021 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-5021 being exploited?

There is no known exploitation of CVE-2024-5021 in the wild and no public exploit code.

Sources

Also known as GHSA-p9qx-7mff-gw6f.

Is CVE-2024-5021 in your software?

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

Check your SBOMs for free