Giteaに認証の試行回数制限がなく、パスワードが分かると二要素認証を突破される脆弱性
Summary
Giteaでは、ワンタイムパスコードの誤入力回数に制限がなく、パスワードを知っている攻撃者が六桁のコードを高い頻度で試して、二要素認証を突破してサインインできる脆弱性が見つかりました。28.4.0より前のバージョンが影響を受けます。修正版の28.4.0では、5回連続で失敗するとそのアカウントへの試行が15分間拒否されるようになったため、速やかに28.4.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.
Giteaでは、ワンタイムパスコードの誤入力回数に制限がなく、パスワードを知っている攻撃者が六桁のコードを高い頻度で試して、二要素認証を突破してサインインできる脆弱性が見つかりました。28.4.0より前のバージョンが影響を受けます。修正版の28.4.0では、5回連続で失敗するとそのアカウントへの試行が15分間拒否されるようになったため、速やかに28.4.0以降へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| GiteaGitea |
< 28.4.0→ 28.4.0 |
28.4.0 |
Original description The description as published by the source.
Gitea accepted an unlimited number of wrong TOTP passcodes during sign-in, in the password reset flow and for Basic authentication with the X-Gitea-OTP header. An attacker who already knows an account's password could guess the six-digit passcode by trying codes at a high rate and sign in despite two-factor authentication. After five failed passcodes, further attempts for the account are now refused for 15 minutes.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory blog.gitea.com
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com