CVE-2019-11576 Gitea Allows 1FA Even for 2FA-Enrolled Accounts

Critical 9.8 Published Updated

Attackers can bypass two-factor authentication on Gitea accounts by sending credentials to the API without the one-time password.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-11576?

CVE-2019-11576 is a critical authentication bypass vulnerability in Gitea Gitea, published on 28 Apr 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-287

Which versions are affected by CVE-2019-11576?

2 open source packages ship an affected version, including code.gitea.io/gitea. It affects 1 product.

PackageAffectedFixed in
code.gitea.io/gitea GoAll versions1.8.0
code.gitea.io/gitea GoAll versions1.8.0

Products include Gitea Gitea.

How do I fix CVE-2019-11576?

Upgrade code.gitea.io/gitea to 1.8.0 or later.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2019-11576 being exploited?

There is no known exploitation of CVE-2019-11576 in the wild and no public exploit code.

All Gitea Gitea vulnerabilities

Sources

Also known as GHSA-3393-r4p5-vhqh, UBUNTU-CVE-2019-11576.

Is CVE-2019-11576 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free