Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 711702 (CVE-2019-12300, CVE-2019-7313) - <dev-util/buildbot-2.7.0: Multiple vulnerabilities (CVE-2019-{7313,12300})
Summary: <dev-util/buildbot-2.7.0: Multiple vulnerabilities (CVE-2019-{7313,12300})
Status: RESOLVED FIXED
Alias: CVE-2019-12300, CVE-2019-7313
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Deadline: 2020-04-28
Assignee: Gentoo Security
URL: https://github.com/buildbot/buildbot/...
Whiteboard: ~3 [noglsa cve]
Keywords:
Depends on: 675496
Blocks:
  Show dependency tree
 
Reported: 2020-03-06 16:49 UTC by Sam James
Modified: 2020-06-04 09:51 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-03-06 16:49:14 UTC
Description:
"Buildbot accepted user-submitted authorization token from OAuth and used it to authenticate user.

The vulnerability can lead to malicious attackers to authenticate as legitimate users of a Buildbot instance without knowledge of the victim's login credentials on certain scenarios.

If an attacker has an application authorized to access data of another user at the same Identity Provider as the used by the Buildbot instance, then he can acquire a token to access the data of that user, supply the token to the Buildbot instance and successfully login as the victim."

Affected versions:
- 0.9.5 to 1.8.1
- 2.0.0 to 2.3.0 (inclusive)
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-03-27 07:03:38 UTC
I suppose we'll be last riting this, given zero maintenance effort and growing number of bugs.
Comment 2 Larry the Git Cow gentoo-dev 2020-03-29 07:42:35 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd9d2971828929749e4695c0baf8900a6a3e3b43

commit cd9d2971828929749e4695c0baf8900a6a3e3b43
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-03-29 07:39:29 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-03-29 07:39:38 +0000

    package.mask: Last rite dev-util/buildbot* & revdeps
    
    Bug: https://bugs.gentoo.org/711702
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 profiles/package.mask | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
Comment 3 GLSAMaker/CVETool Bot gentoo-dev 2020-05-08 19:09:28 UTC
CVE-2019-7313 (https://nvd.nist.gov/vuln/detail/CVE-2019-7313):
  www/resource.py in Buildbot before 1.8.1 allows CRLF injection in the
  Location header of /auth/login and /auth/logout via the redirect parameter.
  This affects other web sites in the same domain.
Comment 4 Brian Dolbec (RETIRED) gentoo-dev 2020-06-01 23:01:35 UTC
Old vulnerable versions have been cleaned from the tree now.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-06-04 09:51:42 UTC
(In reply to Brian Dolbec from comment #4)
> Old vulnerable versions have been cleaned from the tree now.

Thanks! All done :)