Vulnérabilité dans fof/oauth (CVE-2026-92161)
Résumé
Vulnérabilité dans fof/oauth (CVE-2026-92161). L'exploitation peut entraîner la prise de contrôle totale du système. Atténuation : mise à jour vers 2.0.0-beta.4 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Impact
An unauthenticated account takeover vulnerability exists in fof/oauth when the Discord OAuth provider is enabled.
Discord allows an account to use an unverified email address when its phone number has been verified. During OAuth authentication, Discord may return that email address with "verified": false.
Affected versions of fof/oauth did not validate this flag and passed the email address to Flarum core as trusted via provideTrustedEmail(). Flarum core could then match the trusted email address to an existing user, link the attacker-controlled Discord identity to that user, and authenticate the attacker as the victim.
An attacker who knows a user's email address can therefore take over the corresponding Flarum account without knowing its password or requiring any interaction from the victim. This includes administrator accounts.
Preconditions for exploitation
- Discord sign-in is enabled on the forum.
- The victim has a Flarum account with a known email address.
- The victim's email address is not already associated with a Discord account.
- The attacker creates or configures a Discord account using the victim's email address without verifying it and verifies a phone number instead.
- The attacker authenticates to the forum using that Discord account.
The issue is specific to Discord's ability to return an unverified email address through OAuth. Other bundled providers were not confirmed to be practically exploitable through the same meth…
Source: NIST National Vulnerability Database NVD GitHub Advisory
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-2026-92161 a été découverte dans fof/oauth.
L'exploitation peut entraîner la prise de contrôle totale du système. Score CVSS : 9.8/10.
Action : mettez à jour fof/oauth vers 2.0.0-beta.4 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « fof/oauth CVE-2026-92161 » sur le site de l'éditeur.
CVE-2026-92161 (fof/oauth) — CWE-345 / CVSS v3 9.8
Vecteur d'attaque : distant (réseau) / non authentifié / sans interaction utilisateur
Correctif : 2.0.0-beta.4 — appliquer immédiatement
Contournement : Administrators who cannot update immediately should disable the Discord OAuth provider in the extension settings.
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 vulnérabilité (CWE-345) affecte fof/oauth.
Consultez l'avis de l'éditeur pour les versions affectées de fof/oauth.
Gravité : Critique (CVSS 9.8/10). L'exploitation peut entraîner la prise de contrôle totale du système.
Mettre à jour vers 2.0.0-beta.4.
Contournement : Administrators who cannot update immediately should disable the Discord OAuth provider in the extension settings.
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 'fof/oauth' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
fof/oauthを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply temporary workaround mitigate
Administrators who cannot update immediately should disable the Discord OAuth provider in the extension settings.パッチが適用されるまでの応急処置として、Administrators who cannot update immediately should disable the Discord OAuth provider in the extension settings. を実施。回避策の副作用 (機能低下) を確認した上で。
-
3Apply patch patch
Upgrade fof/oauth to 2.0.0-beta.4ステージング環境で 2.0.0-beta.4 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
Références
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web nvd.nist.gov
- web github.com