Descrizione
Pterodactyl is a free, open-source game server management panel. Prior to Panel version 1.12.3 and Wings version 1.12.2, the Wings /upload/file endpoint accepted any valid panel-signed JWT that contained server_uuid, user_uuid, and unique_id claims without checking the token's intended purpose; because the Panel issues JWTs carrying those same claims for lower-privilege operations such as WebSocket authentication and file-download links, an authenticated subuser could reuse one of those tokens (for example a WebSocket token obtained with only the websocket.connect permission) by replaying it against /upload/file to write arbitrary files to the same server, despite never being granted the file.create permission. This issue is fixed in Panel version 1.12.3 and Wings version 1.12.2.
Tipo di vulnerabilità
CWE-1259
Improper Restriction of Security Token Assignment
The System-On-A-Chip (SoC) implements a Security Token mechanism to differentiate what actions are allowed or disallowed when a transaction originates from an entity. However, the Security Tokens are improperly protected, such as improperly restricting the assignment to trusted components.
Impatto sui sistemi
| Ambito | Impatto |
| Riservatezza, Integrità, Disponibilità, Controllo degli accessi |
Modificare file o cartelle, Eseguire codice o comandi non autorizzati, Aggirare i meccanismi di protezione, Ottenere privilegi o assumere un’altra identità, Modificare la memoria, Modificare la memoria, Interruzione del servizio: arresto o riavvio |
Come si previene
Architettura e progettazione · Sviluppo
Since the Security Tokens are integral for the maintenance of security in an SoC, they need to be protected properly. Security Token assignment review checks for design inconsistency and common weaknesses. Security-Token definition and programming flow is tested in both pre-silicon and post-silicon testing.
Tutte le 16 CVE di tipo CWE-1259, con andamento e prevenzione