CVE-2024-34068 Server-side Request Forgery during remote file pull in Pterodactyl wings

Medium 6.4 Published Updated

Authenticated users can bypass access controls to perform Server-Side Request Forgery, accessing internal network resources via the remote file pull endpoint.

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

What is CVE-2024-34068?

CVE-2024-34068 is a medium-severity server-side request forgery vulnerability in pterodactyl wings, published on 3 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Pterodactyl wings is the server control plane for Pterodactyl Panel. An authenticated user who has access to a game server is able to bypass the previously implemented access control (GHSA-6rg3-8h8x-5xfv) that prevents accessing internal endpoints of the node hosting Wings in the pull endpoint. This would allow malicious users to potentially access resources on local networks that would otherwise be inaccessible. This issue has been addressed in version 1.11.2 and users are advised to upgrade. Users unable to upgrade may enable the `api.disable_remote_download` option as a workaround.

Weakness: CWE-918, CWE-441, CWE-284

Which versions are affected by CVE-2024-34068?

3 open source packages ship an affected version, including github.com/pterodactyl/wings. It affects 1 product.

PackageAffectedFixed in
github.com/pterodactyl/wings GoAll versions1.11.12
github.com/pterodactyl/wings GoAll versions1.11.12
github.com/pterodactyl/wings GoAll versions1.11.12

Products include Pterodactyl Wings.

How do I fix CVE-2024-34068?

Upgrade github.com/pterodactyl/wings to 1.11.12 or later.

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

Is CVE-2024-34068 being exploited?

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

Sources

Also known as GHSA-qq22-jj8x-4wwv, GO-2024-2815.

Is CVE-2024-34068 in your software?

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

Check your SBOMs for free