Gitea Allows 1FA Even for 2FA-Enrolled Accounts
Date: 2022-05
Affected: go/code.gitea.io/gitea
Attack vector: auth-bypass
Category: vulnerability-disclosure
Severity: Critical
CVE: CVE-2019-11576
CWE: CWE-287
CVSS: 9.8 (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)

Gitea before 1.8.0 allows 1FA for user accounts that have completed 2FA enrollment. If a user's credentials are known, then an attacker could send them to the API without requiring the 2FA one-time password.


Mitigations:

Architectural layers (MAESTRO):