Gitea Allows 1FA Even for 2FA-Enrolled Accounts
        
  Critical severity
        
          GitHub Reviewed
      
        Published
          May 24, 2022 
          to the GitHub Advisory Database
          •
          Updated Apr 24, 2024 
      
  
Description
        Published by the National Vulnerability Database
      Apr 28, 2019 
    
  
        Published to the GitHub Advisory Database
      May 24, 2022 
    
  
        Reviewed
      Apr 24, 2024 
    
  
        Last updated
      Apr 24, 2024 
    
  
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.
References