GHSA-66p8-j459-rq63
Pterodactyl Wings contains UNIX Symbolic Link (Symlink) Following resulting in deletion of files and directories on the host system
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Go | github.com/pterodactyl/wings | < 1.7.4 | 1.7.4 |
| Go | github.com/pterodactyl/wings | >= 1.11.0, < 1.11.4 | 1.11.4 |
Details
As written in the advisory (Markdown source, shown as plain text).
### 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`](https://github.com/pterodactyl/wings/security/advisories/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
External links from the advisory. They lead to third-party sites.
- https://github.com/pterodactyl/wings/security/advisories/GHSA-66p8-j459-rq63
- https://github.com/pterodactyl/wings/security/advisories/GHSA-p8r3-83r8-jwj5
- https://nvd.nist.gov/vuln/detail/CVE-2023-25168
- https://github.com/pterodactyl/wings/commit/429ac62dba22997a278bc709df5ac00a5a25d83d
- https://github.com/pterodactyl/wings