CVE-2024-49762 Pterodactyl Panel has plain-text logging of user passwords when two-factor authentication is disabled

Medium 4.6 Published Updated

Attackers with log access can steal user passwords logged in plain text during 2FA disablement, potentially leading to account takeover.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-49762?

CVE-2024-49762 is a medium-severity vulnerability in pterodactyl panel, published on 24 Oct 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Pterodactyl is a free, open-source game server management panel. When a user disables two-factor authentication via the Panel, a `DELETE` request with their current password in a query parameter will be sent. While query parameters are encrypted when using TLS, many webservers (including ones officially documented for use with Pterodactyl) will log query parameters in plain-text, storing a user's password in plain text. Prior to version 1.11.8, if a malicious user obtains access to these logs they could potentially authenticate against a user's account; assuming they are able to discover the account's email address or username separately. This problem has been patched in version 1.11.8. There are no workarounds at this time. There is not a direct vulnerability within the software as it relates to logs generated by intermediate components such as web servers or Layer 7 proxies. Updating to `v1.11.8` or adding the linked patch manually are the only ways to avoid this problem. As this vulnerability relates to historical logging of sensitive data, users who have ever disabled 2FA on a Panel (self-hosted or operated by a company) should change their passwords and consider enabling 2FA if it was left disabled. While it's unlikely that their account swill be compromised by this vulnerability, it's not impossible. Panel administrators should consider clearing any access logs that may contain sensitive data.

Weakness: CWE-313

Which versions are affected by CVE-2024-49762?

2 open source packages ship an affected version, including pterodactyl/panel.

PackageAffectedFixed in
pterodactyl/panel PackagistAll versions1.11.8
pterodactyl/panel PackagistAll versions1.11.8

How do I fix CVE-2024-49762?

Upgrade pterodactyl/panel to 1.11.8 or later.

Is CVE-2024-49762 being exploited?

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

Sources

Also known as GHSA-c479-wq8g-57hr.

Is CVE-2024-49762 in your software?

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

Check your SBOMs for free