GitHub Advisoryadvisory · Go

GHSA-494h-9924-xww9 Pterodactyl Wings vulnerable to improper isolation of server file access

CRITICAL Published 2024-03-15 Modified 2024-03-15 Official page ↗
Aliases
CVE-2024-27102
Ecosystem
Go
Packages
github.com/pterodactyl/wings
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Weaknesses
CWE-22, CWE-362, CWE-363
Reviewed
2024-03-15

Affected packages

• Go github.com/pterodactyl/wings: < 1.11.9 → fixed in 1.11.9

Description

Impact This vulnerability impacts anyone running the affected versions of Wings. The vulnerability can potentially be used to access files and directories on the host system. The full scope of impact is exactly unknown, but reading files outside of a server's base directory (sandbox root) is possible. In order to use this exploit, an attacker must have an existing "server" allocated and controlled by Wings. Details on the exploitation of this vulnerability are embargoed until March 27th, 2024 at 18:00 UTC. Resolution In order to mitigate this vulnerability, a full rewrite of the entire server filesystem was necessary. Because of this, the size of the patch is massive, however effort was made to reduce the amount of breaking changes. While tests were written to ensure security and functionality, there may be some semantic differences of certain operations, such as different errors being returned for example. If you notice any major semantic differences, please open an issue on our issue tracker so it can be resolved. Patches This vulnerability has been resolved in version `v1.11.9` of Wings. Everyone should update to Wings `v1.11.9` (or newer). Workarounds None.

Related

Alias · CVE (1)

  • CVE-2024-27102 Wings is the server control plane for Pterodactyl Panel. vulnerability

Weakness · CWE (3)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization weakness
  • CWE-363 Race Condition Enabling Link Following weakness

References