CVE-2024-10524 GNU Wget is vulnerable to an SSRF attack when accessing partially-user-controlled shorthand URLs

Medium 6.5 Published Updated

Attackers can exploit crafted credentials in shorthand URLs to force Wget to access arbitrary hosts, requiring specific application usage patterns.

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

What is CVE-2024-10524?

CVE-2024-10524 is a medium-severity server-side request forgery vulnerability in gnu wget, published on 19 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Applications that use Wget to access a remote resource using shorthand URLs and pass arbitrary user credentials in the URL are vulnerable. In these cases attackers can enter crafted credentials which will cause Wget to access an arbitrary host.

Weakness: CWE-918

Which versions are affected by CVE-2024-10524?

Linux distribution packages (9)
wget SUSE:Linux Enterprise Micro 5.5All versions1.20.3-150000.3.26.1
wget SUSE:Linux Enterprise Module for Basesystem 15 SP5All versions1.20.3-150000.3.26.1
wget SUSE:Linux Enterprise Module for Basesystem 15 SP6All versions1.20.3-150600.19.9.1
wget SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5All versions1.14-21.25.1
wget SUSE:Linux Micro 6.0All versions1.24.5-2.1
wget SUSE:Linux Micro 6.1All versions1.24.5-slfo.1.1_2.1
wget openSUSE:Leap 15.5All versions1.20.3-150000.3.26.1
wget openSUSE:Leap 15.6All versions1.20.3-150600.19.9.1
wget openSUSE:TumbleweedAll versions1.25.0-1.1

How do I fix CVE-2024-10524?

Apply the vendor's patch.

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

Is CVE-2024-10524 being exploited?

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

Sources

Also known as ALPINE-CVE-2024-10524, AZL-53235, BELL-CVE-2024-10524, DEBIAN-CVE-2024-10524, ECHO-dfe7-a7ed-8a10, GHSA-mqrm-h2pw-9j9r and 15 more.

Is CVE-2024-10524 in your software?

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

Check your SBOMs for free