gitea-mirrorに認証回避の脆弱性、SSO設定を書き換えられるおそれ
Summary
gitea-mirrorの3.38.1より前のバージョンには、SSOプロバイダーAPIで認証回避につながる脆弱性があります。認証済みの一般ユーザーでも他人のSSO設定を読み書きでき、OIDCのクライアントシークレットが平文で見えるほか、認証先のURLを攻撃者のサーバーに差し替えられるおそれがあります。修正版の3.38.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.
gitea-mirrorの3.38.1より前のバージョンには、SSOプロバイダーAPIで認証回避につながる脆弱性があります。認証済みの一般ユーザーでも他人のSSO設定を読み書きでき、OIDCのクライアントシークレットが平文で見えるほか、認証先のURLを攻撃者のサーバーに差し替えられるおそれがあります。修正版の3.38.1が公開されているので、速やかに更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| RayLabsHQgitea-mirror |
< 3.38.1→ 3.38.1 |
3.38.1 |
Original description The description as published by the source.
RayLabsHQ gitea-mirror before 3.38.1 contains an authorization bypass vulnerability in the /api/sso/providers handlers that allows any authenticated user to access other users' SSO providers without ownership checks. Attackers can read every OIDC client secret in clear text and overwrite or delete providers, redirecting authorization and token endpoints to attacker-controlled servers.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- web github.com
- web github.com
- web github.com