Postizのソーシャルログインに脆弱性、別アプリ向けのトークンでアカウントを乗っ取られるおそれ
Summary
Postizのソーシャルログインで、別のアプリ向けに発行されたプロバイダートークンを受け入れる脆弱性が見つかりました。悪用されると、そのユーザーのセッションを開かれ、組織・チャンネル・組織のAPIキーが利用されるおそれがあります。影響は2.26.1より前のpostiz-appで、2.26.1で修正されています。まだ古い版を使っている場合は、すぐに2.26.1以上へ更新してください。
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.
Postizのソーシャルログインで、別のアプリ向けに発行されたプロバイダートークンを受け入れる脆弱性が見つかりました。悪用されると、そのユーザーのセッションを開かれ、組織・チャンネル・組織のAPIキーが利用されるおそれがあります。影響は2.26.1より前のpostiz-appで、2.26.1で修正されています。まだ古い版を使っている場合は、すぐに2.26.1以上へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| GitroomHQpostiz-app |
< 2.26.1→ 2.26.1 |
2.26.1 |
Original description The description as published by the source.
When a person signs up with a social provider, Postiz redeems the authorization code with its own client credentials and hands the browser a provider token, which the sign-up form sends back to complete registration. The login and registration endpoints accepted any provider access token in that field and only asked the provider whose token it was, without checking which application it had been issued to.
An access token that the same provider issued to a different application for the same person was therefore enough to open that person's Postiz session, with all of their organizations, channels and the organization API key. The same token sent to the registration endpoint for a person without an account created an account tied to their provider identity, which their later genuine sign-ins would land in. Accounts that sign in with e-mail and password, and Apple sign-in, are not affected.
Source: CVE.org (CVE Program・cvelistV5) NVD
References
- advisory github.com
- advisory nvd.nist.gov
- web github.com
- web github.com
- web github.com
- web gadvisory.org