CVE-2024-27102: Improper isolation of server file access in github.com/pterodactyl/wings
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. <https://github.com/pterodactyl/panel/issues/new/choose>
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.
Other sources
Wings is the server control plane for Pterodactyl Panel. 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. 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. Users are advised to update to version 1.11.9. There are no known workarounds for this vulnerability.
— MITRE
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-27102?
CVE-2024-27102 has a severity rating that indicates it poses a risk of unauthorized access to files and directories on the host system.
How do I fix CVE-2024-27102?
To fix CVE-2024-27102, update Wings to version 1.11.10 or later, which addresses this vulnerability.
Who is affected by CVE-2024-27102?
CVE-2024-27102 affects anyone running Wings version 1.11.9 or earlier.
What could be the potential impact of CVE-2024-27102?
The potential impact of CVE-2024-27102 includes unauthorized access to sensitive files outside the server's base directory.
Is there a workaround for CVE-2024-27102 before applying the fix?
Currently, no official workarounds for CVE-2024-27102 are recommended; upgrading to a secure version is advised.