Logtoに認証を回避されアカウントを乗っ取られる脆弱性
Summary
Logtoの1.46.0より前のバージョンには、ソーシャルアカウントの連携で未検証のメールアドレスが使われる脆弱性があります。攻撃者が被害者のアカウントに自分のソーシャルアカウントを連携させ、被害者としてサインインされるおそれがあります。標準のOAuth 2.0コネクタとAzure ADコネクタでは、メール同期の設定を有効にするオプションが用意されています。バージョン1.46.0で修正されており、影響を受ける場合は1.46.0以降に更新したうえで、これらのコネクタの設定を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Logtoの1.46.0より前のバージョンには、ソーシャルアカウントの連携で未検証のメールアドレスが使われる脆弱性があります。攻撃者が被害者のアカウントに自分のソーシャルアカウントを連携させ、被害者としてサインインされるおそれがあります。標準のOAuth 2.0コネクタとAzure ADコネクタでは、メール同期の設定を有効にするオプションが用意されています。バージョン1.46.0で修正されており、影響を受ける場合は1.46.0以降に更新したうえで、これらのコネクタの設定を確認してください。
Original description The description as published by the source.
Logto is the modern, open-source auth infrastructure for SaaS and AI apps. Prior to 1.46.0, social account linking can use an unverified email returned by the standard OAuth 2.0 or Azure AD connector to select an existing local account. When findSocialRelatedUser matches a victim's email and a request to POST /api/experience/identification enables linkSocialIdentity, an attacker who controls that unverified provider email can link an attacker-controlled social identity to the victim account and sign in as the victim. The issue applies when the provider does not verify email ownership or allows the value to be set freely; Google, GitHub, and default OIDC connector behavior is not affected because those paths expose only verified email. Version 1.46.0 adds an opt-in email synchronization control to the standard OAuth 2.0 connector, while the Azure AD connector has offered an equivalent opt-in control since version 1.43.0. These controls preserve existing behavior by default, so administrators must enable them on affected connectors. A configurable mitigation is available in version 1.46.0.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com
- web github.com