CVE-2024-49762: Pterodactyl/panel Pterodactyl Panel Has Plain-text Logging Vulnerability
MODERATECVE-2024-49762 is a MODERATE (CVSS 4.6) pterodactyl panel has plain-text logging vulnerability (CWE-313: Cleartext Storage in a File or on Disk) affecting Pterodactyl/panel libraries in the Packagist ecosystem. The issue involves pterodactyl panel has plain-text logging of user passwords when two-factor authentication is disabled. Remediation is available by upgrading affected packages to version 1.11.8.
CVE-2024-49762 at a Glance
Security Impact
CVSS: 4.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N).
How to Fix CVE-2024-49762
To remediate this vulnerability, upgrade all affected Pterodactyl/panel dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade pterodactyl/panel to 1.11.8
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for pterodactyl/panel
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-49762, inspect your project dependencies for Pterodactyl/panel:
inspect dependencies for pterodactyl/panel
Analyze the terminal output to locate any version of Pterodactyl/panel in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.11.8), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-313: Cleartext Storage in a File or on Disk, where the product stores sensitive information in cleartext in a file, or on disk. In Pterodactyl/panel, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-49762 Affected Pterodactyl/panel Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
pterodactyl/panel
|
Packagist |
< 1.11.8
|
1.11.8
|
References
Frequently Asked Questions
What is CVE-2024-49762?
Which Pterodactyl/panel versions are affected?
What version fixes CVE-2024-49762?
Is pterodactyl/panel affected?
What is the CVSS score of CVE-2024-49762?
What CWE is associated with CVE-2024-49762?
How can I check Packagist dependencies for CVE-2024-49762?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-c479-wq8g-57hr",
"modified" : "2024-10-25T16:47:19Z",
"published" : "2024-10-24T19:07:03Z",
"aliases" : [ "CVE-2024-49762" ],
"summary" : "Pterodactyl Panel has plain-text logging of user passwords when two-factor authentication is disabled",
"details" : "### Impact\n\nWhen 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.\n\nIf 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**.\n\n### Patches\n\nThis problem has been patched by <https://github.com/pterodactyl/panel/commit/8be2b892c3940bdc0157ccdab16685a72d105dd1> on the `1.0-develop` branch and released under `v1.11.8` as a single commit on top of `v1.11.7` <https://github.com/pterodactyl/panel/commit/75b59080e2812ced677dab516222b2a3bb34e3a4>\n\nPatch file: <https://github.com/pterodactyl/panel/commit/8be2b892c3940bdc0157ccdab16685a72d105dd1.patch>\n\n### Workarounds\n\nThere 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 webservers or Layer 7 proxies.\n\nUpdating to `v1.11.8` or adding the linked patch manually are the only ways to avoid this problem.\n\n### User Notice\n\nAs 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 your account will be compromised by this vulnerability, it's not impossible.\n\nPanel administrators should consider clearing any access logs that may contain sensitive data, for Panels using NGINX, the access log is located at `/var/log/nginx/pterodactyl.app-access.log`.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "pterodactyl/panel"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.11.8"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/pterodactyl/panel/security/advisories/GHSA-c479-wq8g-57hr"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-49762"
}, {
"type" : "WEB",
"url" : "https://github.com/pterodactyl/panel/commit/75b59080e2812ced677dab516222b2a3bb34e3a4"
}, {
"type" : "WEB",
"url" : "https://github.com/pterodactyl/panel/commit/8be2b892c3940bdc0157ccdab16685a72d105dd1"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/pterodactyl/panel"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-313" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-10-24T19:07:03Z",
"nvd_published_at" : "2024-10-24T22:15:04Z"
}
}