CVE-2023-25168 Symbolic Link (Symlink) Following allowing the deletion of files and directories on the host system in wings
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
Wings is Pterodactyl's server control plane. This 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. 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. There are no known workarounds for this issue.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pterodactyl github.com/pterodactyl/wings | = 1.11.0; = 1.11.1; = 1.11.2; = 1.11.3 +3 more | 1.7.4 | Fixed |
| pterodactyl github.com/pterodactyl/wings(Go) | < 1.7.4; >= 1.11.0, < 1.11.4 | 1.7.4, 1.11.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pterodactyl github.com/pterodactyl/wings(Go) | < 1.7.4 | 1.7.4 |
| pterodactyl github.com/pterodactyl/wings(Go) | >= 1.11.0, < 1.11.4 | 1.11.4 |
| pterodactyl github.com/pterodactyl/wings | = < 1.7.4 | No fix listed |
| pterodactyl github.com/pterodactyl/wings | = >= 1.11.0, < 1.11.4 | No fix listed |
| pterodactyl github.com/pterodactyl/wings | >= 1.7.0, < 1.7.4 | 1.7.4 |
| pterodactyl github.com/pterodactyl/wings | = 1.11.0 | No fix listed |
| pterodactyl github.com/pterodactyl/wings | = 1.11.1 | No fix listed |
| pterodactyl github.com/pterodactyl/wings | = 1.11.2 | No fix listed |
| pterodactyl github.com/pterodactyl/wings | = 1.11.3 | No fix listed |
References
- https://github.com/pterodactyl/wings/security/advisories/GHSA-66p8-j459-rq63 vendor-advisory
- https://github.com/pterodactyl/wings/security/advisories/GHSA-p8r3-83r8-jwj5 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/pterodactyl/wings/commit/429ac62dba22997a278bc709df5ac00a5a25d83d patch vendor-advisory
- github.com
- github.com product