PyPA Advisory Database
PYSEC-2019-6
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) From 2.0.1 before 2.3.1 (fixed in 2.3.1) |
References
- https://github.com/buildbot/buildbot/wiki/OAuth-vulnerability-in-using-submitted-authorization-token-for-authentication
- https://lists.fedoraproject.org/archives/list/[email protected]/message/4XLOM2K4M4723BCLHZJEX52KJXZSEVRL/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/7GXKO7OYLKBTXXXKF4VPHWT7GVYWFVYA/
- https://github.com/advisories/GHSA-g86p-hgx5-2pfh