Catégories
CVE-2020-26250

Autorisation incorrecte dans oauthenticator (CVE-2020-26250)

Résumé

Vulnérabilité dans oauthenticator (CVE-2020-26250). Des informations confidentielles peuvent être exposées. Exploitable via Authenticator.whitelist. Atténuation : mise à jour vers 0.12.2 ou plus.

Description d'origine

La description telle que publiée par la source (souvent en anglais).

OAuthenticator is an OAuth login mechanism for JupyterHub. In oauthenticator from version 0.12.0 and before 0.12.2, the deprecated (in jupyterhub 1.2) configuration Authenticator.whitelist, which should be transparently mapped to Authenticator.allowed_users with a warning, is instead ignored by OAuthenticator classes, resulting in the same behavior as if this configuration has not been set. If this is the only mechanism of authorization restriction (i.e. no group or team restrictions in configuration) then all authenticated users will be allowed. Provider-based restrictions, including deprecated values such as GitHubOAuthenticator.org_whitelist are not affected. All users of OAuthenticator 0.12.0 and 0.12.1 with JupyterHub 1.2 (JupyterHub Helm chart 0.10.0-0.10.5) who use the admin.whitelist.users configuration in the jupyterhub helm chart or the c.Authenticator.whitelist configuration directly. Users of other deprecated configuration, e.g. c.GitHubOAuthenticator.team_whitelist are not affected. If you see a log line like this and expect a specific list of allowed usernames: "[I 2020-11-27 16:51:54.528 JupyterHub app:1717] Not using allowed_users. Any authenticated user will be allowed." you are likely affected. Updating oauthenticator to 0.12.2 is recommended. A workaround is to replace the deprecated c.Authenticator.whitelist = ... with c.Authenticator.allowed_users = .... If any users have been authorized during this time who should not have been, t…

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-2020-26250 a été découverte dans oauthenticator.
Des attaquants peuvent cibler un point d'entrée spécifique comme Authenticator.whitelist à distance pour détourner le produit.
Des informations confidentielles peuvent être exposées.
Action : mettez à jour oauthenticator vers 0.12.2 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « oauthenticator CVE-2020-26250 » sur le site de l'éditeur.

CVE-2020-26250 (oauthenticator) — CWE-863
Vecteur d'attaque : distant (réseau) / sans interaction utilisateur
Surface d'attaque : Authenticator.whitelist / Authenticator.allowed_users / GitHubOAuthenticator.org_whitelist / admin.whitelist.users
Correctif : 0.12.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.

❓ Quel est le problème

Une autorisation incorrecte (CWE-863) affecte oauthenticator. Les attaquants atteignent le code vulnérable via Authenticator.whitelist.

📍 Périmètre concerné

Consultez l'avis de l'éditeur pour les versions affectées de oauthenticator. Surface d'attaque : Authenticator.whitelist / Authenticator.allowed_users / GitHubOAuthenticator.org_whitelist / admin.whitelist.users.

🔥 Gravité

Gravité : ?. Des informations confidentielles peuvent être exposées.

🔧 Comment corriger

Mettre à jour vers 0.12.2.

🛡️ Contournement

En attendant le correctif : désactivez la fonctionnalité concernée, appliquez des règles WAF, ou restreignez l'accès par ACL réseau.

🔍 Détection

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

  1. 1
    Identify exposure identify
    grep -r 'oauthenticator' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で oauthenticator を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply patch patch
    Upgrade oauthenticator to 0.12.2

    ステージング環境で 0.12.2 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    Post-deployment verification verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Paquets affectés

PyPI oauthenticator
[{"type":"ECOSYSTEM","events":[{"introduced":"0.12.0"},{"fixed":"0.12.2"}]}]

Références

Nous utilisons des cookies pour l'analyse d'audience et la mesure publicitaire. Ce réglage s'applique à tous les sites de Game co., Ltd. En savoir plus