CVE-2024-34066: Github.com/pterodactyl/wings Pterodactyl Wings Vulnerable To Arbitrary Vulnerability
HIGHCVE-2024-34066 is a HIGH (CVSS 8.4) pterodactyl wings vulnerable to arbitrary vulnerability (CWE-552: Files or Directories Accessible to External Parties) affecting Github.com/pterodactyl/wings libraries in the Go ecosystem. The issue involves pterodactyl wings vulnerable to arbitrary file write/read. Remediation is available by upgrading affected packages to version 1.11.12.
CVE-2024-34066 at a Glance
Security Impact
CVSS: 8.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H).
How to Fix CVE-2024-34066
To remediate this vulnerability, upgrade all affected Github.com/pterodactyl/wings 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 github.com/pterodactyl/wings to 1.11.12
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/pterodactyl/wings
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-34066, inspect your project dependencies for Github.com/pterodactyl/wings:
inspect dependencies for github.com/pterodactyl/wings
Analyze the terminal output to locate any version of Github.com/pterodactyl/wings in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.11.12), 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-552: Files or Directories Accessible to External Parties, where the product makes files or directories accessible to unauthorized actors, even though they should not be. In Github.com/pterodactyl/wings, 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-34066 Affected Github.com/pterodactyl/wings Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/pterodactyl/wings
|
Go |
< 1.11.12
|
1.11.12
|
References
Frequently Asked Questions
What is CVE-2024-34066?
Which Github.com/pterodactyl/wings versions are affected?
What version fixes CVE-2024-34066?
Is github.com/pterodactyl/wings affected?
What is the CVSS score of CVE-2024-34066?
What CWE is associated with CVE-2024-34066?
How can I check Go dependencies for CVE-2024-34066?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gqmf-jqgv-v8fw",
"modified" : "2024-05-03T20:28:10Z",
"published" : "2024-05-03T20:28:10Z",
"aliases" : [ "CVE-2024-34066" ],
"summary" : "Pterodactyl Wings vulnerable to Arbitrary File Write/Read",
"details" : "### Impact\n\nIf the Wings token is leaked either by viewing the node configuration or posting it accidentally somewhere, an attacker can use it to gain arbitrary file write and read access on the node the token is associated to.\n\n### Workarounds\n\nEnabling the `ignore_panel_config_updates` option or updating to the latest version of Wings are the only known workarounds.\n\n### Patches\n\nhttps://github.com/pterodactyl/wings/commit/5415f8ae07f533623bd8169836dd7e0b933964de",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/pterodactyl/wings"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.11.12"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/pterodactyl/wings/security/advisories/GHSA-gqmf-jqgv-v8fw"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-34066"
}, {
"type" : "WEB",
"url" : "https://github.com/pterodactyl/wings/commit/5415f8ae07f533623bd8169836dd7e0b933964de"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/pterodactyl/wings"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-552" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-03T20:28:10Z",
"nvd_published_at" : "2024-05-03T18:15:09Z"
}
}