Contournement d'authentification dans pterodactyl/panel (CVE-2021-41129)
Résumé
Contournement d'authentification dans pterodactyl/panel (CVE-2021-41129). L'exploitation peut entraîner la prise de contrôle totale du système. Exploitable via confirmation_token. Atténuation : mise à jour vers 1.6.2 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Pterodactyl is an open-source game server management panel built with PHP 7, React, and Go. A malicious user can modify the contents of a confirmation_token input during the two-factor authentication process to reference a cache value not associated with the login attempt. In rare cases this can allow a malicious actor to authenticate as a random user in the Panel. The malicious user must target an account with two-factor authentication enabled, and then must provide a correct two-factor authentication token before being authenticated as that user. Due to a validation flaw in the logic handling user authentication during the two-factor authentication process a malicious user can trick the system into loading credentials for an arbitrary user by modifying the token sent to the server. This authentication flaw is present in the LoginCheckpointController@__invoke method which handles two-factor authentication for a user. This controller looks for a request input parameter called confirmation_token which is expected to be a 64 character random alpha-numeric string that references a value within the Panel's cache containing a user_id value. This value is then used to fetch the user that attempted to login, and lookup their two-factor authentication token. Due to the design of this system, any element in the cache that contains only digits could be referenced by a malicious user, and whatever value is stored at that position would be used as the user_id. There are a few d…
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Résumé généré automatiquement
Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.
Une vulnérabilité référencée CVE-2021-41129 a été découverte dans pterodactyl/panel.
Des attaquants peuvent cibler un point d'entrée spécifique comme confirmation_token à distance pour détourner le produit.
L'exploitation peut entraîner la prise de contrôle totale du système.
Action : mettez à jour pterodactyl/panel vers 1.6.2 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « pterodactyl/panel CVE-2021-41129 » sur le site de l'éditeur.
CVE-2021-41129 (pterodactyl/panel) — CWE-287
Vecteur d'attaque : distant (réseau) / non authentifié / sans interaction utilisateur
Surface d'attaque : confirmation_token / user_id
Correctif : 1.6.2 — appliquer immédiatement
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
Une contournement d'authentification (CWE-287) affecte pterodactyl/panel. Les attaquants atteignent le code vulnérable via confirmation_token sans authentification.
Consultez l'avis de l'éditeur pour les versions affectées de pterodactyl/panel. Surface d'attaque : confirmation_token / user_id.
Gravité : ?. L'exploitation peut entraîner la prise de contrôle totale du système.
Mettre à jour vers 1.6.2.
En attendant le correctif : désactivez la fonctionnalité concernée, appliquez des règles WAF, ou restreignez l'accès par ACL réseau.
Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.
Actions de réponse
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
grep -r 'pterodactyl/panel' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
pterodactyl/panelを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply patch patch
Upgrade pterodactyl/panel to 1.6.2ステージング環境で 1.6.2 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
Références
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- advisory github.com
- package github.com
- patch github.com