Skip to content

Pterodactyl Wings contains UNIX Symbolic Link (Symlink) Following resulting in deletion of files and directories on the host system

Critical severity GitHub Reviewed Published Feb 8, 2023 in pterodactyl/wings • Updated Feb 10, 2023

Package

gomod github.com/pterodactyl/wings (Go)

Affected versions

< 1.7.4
>= 1.11.0, < 1.11.4

Patched versions

1.7.4
1.11.4

Description

Impact

This vulnerability impacts anyone running the affected versions of Wings. The vulnerability can be used to delete files and directories recursively on the host system. This vulnerability can be combined with GHSA-p8r3-83r8-jwj5 to overwrite files on the host system.

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.4 of Wings, and has been back-ported to the 1.7 release series in v1.7.4.

Anyone running v1.11.x should upgrade to v1.11.4 and anyone running v1.7.x should upgrade to v1.7.4.

Workarounds

None at this time.

References

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

Severity

Critical

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Changed
Confidentiality
None
Integrity
High
Availability
High

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H

EPSS score

0.113%
(46th percentile)

Weaknesses

CVE ID

CVE-2023-25168

GHSA ID

GHSA-66p8-j459-rq63

Source code

Credits

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