GitHub Advisory Database
GHSA-g86p-hgx5-2pfh
Improper Authentication in Buildbot
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | buildbot | All versions before 1.8.2 (fixed in 1.8.2) |
| PyPI | buildbot | From 2.0.0 before 2.3.1 (fixed in 2.3.1) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-12300
- https://github.com/advisories/GHSA-g86p-hgx5-2pfh
- https://github.com/buildbot/buildbot
- https://github.com/buildbot/buildbot/wiki/OAuth-vulnerability-in-using-submitted-authorization-token-for-authentication
- https://github.com/pypa/advisory-database/tree/main/vulns/buildbot/PYSEC-2019-6.yaml
- https://lists.fedoraproject.org/archives/list/[email protected]/message/4XLOM2K4M4723BCLHZJEX52KJXZSEVRL
- https://lists.fedoraproject.org/archives/list/[email protected]/message/7GXKO7OYLKBTXXXKF4VPHWT7GVYWFVYA