Skip to content

Pterodactyl Wings contains UNIX Symbolic Link (Symlink) Following

High severity GitHub Reviewed Published Feb 8, 2023 in pterodactyl/wings • Updated Feb 9, 2023

Package

gomod github.com/pterodactyl/wings (Go)

Affected versions

>= 1.11.0, < 1.11.3
< 1.7.3

Patched versions

1.11.3
1.7.3

Description

Impact

This vulnerability impacts anyone running the affected versions of Wings. The vulnerability can be used to create new files and on the host system that previously did not exist, potentially allowing attackers to change their resource allocations, promote their containers to privileged mode, or potentially add ssh authorized keys to allow the attacker access to a remote shell on the target machine.

In order to use this exploit, an attacker must have an existing "server" allocated and controlled by Wings. Information on how the exploitation of this vulnerability works will be released on February 24th, 2023 in North America.

Patches

This vulnerability has been resolved in version v1.11.3 of Wings, and has been back-ported to the 1.7 release series in v1.7.3.

Anyone running v1.11.x should upgrade to v1.11.3 and anyone running v1.7.x should upgrade to v1.7.3.

Workarounds

None at this time.

References

@matthewpi matthewpi published to pterodactyl/wings Feb 8, 2023
Published to the GitHub Advisory Database Feb 8, 2023
Reviewed Feb 8, 2023
Published by the National Vulnerability Database Feb 8, 2023
Last updated Feb 9, 2023

Severity

High
8.4
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
High
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:H

CVE ID

CVE-2023-25152

GHSA ID

GHSA-p8r3-83r8-jwj5

Source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.