Description (CNA)
Gitea's OpenID connect handler accepts a user's password without enforcing enrolled TOTP or WebAuthn verification before completing sign-in and linking an OpenID identifier. When OpenID sign-in is enabled, an attacker who knows the victim's password can obtain a session and link an attacker-controlled identifier. The attacker can then sign in through that identifier without the victim's password or second factor, and a password change does not remove the link.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Gitea / Gitea | affected 0 through 1.27.1 |
CWE
CWE-304, CWE-696
References
- https://github.com/go-gitea/gitea/security/advisories/GHSA-8xjr-x7rg-hp5h
- https://blog.gitea.com/release-of-1.27.2/
- https://github.com/go-gitea/gitea/pull/38805
- https://github.com/go-gitea/gitea/pull/38810
- https://github.com/go-gitea/gitea/releases/tag/v1.27.2
ADP enrichment
No English description supplied.
No references supplied.