# CVE-2019-12300: Improper Authentication in Buildbot

Source: https://junglewise.ai/threats/cve-2019-12300-improper-authentication-in-buildbot  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2019-05-23  
License: CC BY 4.0 with a link back

CVE-2019-12300 · Severity: low · CVSS 3 · Published 2019-05-23

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.

Technologies: [buildbot (PyPI)](https://junglewise.ai/threats/technologies/buildbot). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2019-12300 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2019-12300 being exploited in the wild.

**How severe is CVE-2019-12300?** Low severity, with a CVSS score of 3, published 23 May 2019.

**Which products and versions are affected?** buildbot (PyPI) ECOSYSTEM:introduced=0,fixed=1.8.2, ECOSYSTEM:introduced=0,fixed=1.8.2,introduced=2.0.1,fixed=2.3.1.

**Is there a fix for CVE-2019-12300?** Yes. buildbot (PyPI): upgrade to 1.8.2, 2.3.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2019-12300?** Check whether you run buildbot (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- buildbot (PyPI): upgrade to 1.8.2, 2.3.1 or later

  ```sh
  pip install "buildbot>=2.3.1"
  ```


## Affected products

- buildbot (PyPI) ECOSYSTEM:introduced=0,fixed=1.8.2, ECOSYSTEM:introduced=0,fixed=1.8.2,introduced=2.0.1,fixed=2.3.1

## Identifiers

- CVE-2019-12300
- GHSA-g86p-hgx5-2pfh
- PYSEC-2019-6

## Related threats

- [PYSEC-2019-76 - Buildbot before 1.8.2 and 2.x before 2.3.1 accepts a user-submitted authorization token from OAuth and…](https://junglewise.ai/threats/pysec-2019-76-buildbot-before-1-8-2-and-2-x-before-2-3-1-accepts-a-user-ca50ffb3)
- [PYSEC-2019-77 - www/resource.py in Buildbot before 1.8.1 allows CRLF injection in the Location header of /auth/login…](https://junglewise.ai/threats/pysec-2019-77-www-resource-py-in-buildbot-before-1-8-1-allows-crlf-0f2c1ca3)
- [Buildbot CRLF Injection](https://junglewise.ai/threats/cve-2019-7313-buildbot-crlf-injection)
- [Buildbot vulnerable to cross-site scripting](https://junglewise.ai/threats/cve-2009-2967-buildbot-vulnerable-to-cross-site-scripting)
- [Buildbot Cross-site scripting (XSS) vulnerability](https://junglewise.ai/threats/cve-2009-2959-buildbot-cross-site-scripting-xss-vulnerability)
