CVE-2019-12300 Improper Authentication in Buildbot

Critical 9.8 Published Updated

Attackers can log in as victims by submitting stolen OAuth tokens, leading to account takeover in Buildbot.

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-12300?

CVE-2019-12300 is a critical authentication bypass vulnerability in n/a, published on 23 May 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Buildbot before 1.8.2 and 2.x before 2.3.1 accepts a user-submitted authorization token from OAuth and uses it to authenticate a user. If an attacker has a token allowing them to read the user details of a victim, they can login as the victim.

Weakness: CWE-287

Which versions are affected by CVE-2019-12300?

5 open source packages ship an affected version, including buildbot. It affects 1 product.

PackageAffectedFixed in
buildbot PyPIAll versions1.8.2, 2.3.1
buildbot PyPIAll versions1.8.2
buildbot PyPIAll versions1.8.2
buildbot PyPIFrom 2.0.02.3.1
buildbot PyPIFrom 2.0.02.3.1

Products include Buildbot Buildbot.

How do I fix CVE-2019-12300?

Upgrade buildbot to a fixed version for your release line: 1.8.2 or 2.3.1.

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

Is CVE-2019-12300 being exploited?

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

Sources

Also known as DEBIAN-CVE-2019-12300, GHSA-g86p-hgx5-2pfh, PYSEC-2019-6, UBUNTU-CVE-2019-12300.

Is CVE-2019-12300 in your software?

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

Check your SBOMs for free