Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dist automation security #20629

Closed
brson opened this issue Jan 6, 2015 · 11 comments
Closed

Fix dist automation security #20629

brson opened this issue Jan 6, 2015 · 11 comments
Labels
P-high High priority
Milestone

Comments

@brson
Copy link
Contributor

brson commented Jan 6, 2015

Our buildbot instance is set up so that anybody with the not-so-secret credentials can trigger a build. At present this means that anybody can publish any commit in the repo to a release channel at will.

@brson brson mentioned this issue Jan 6, 2015
65 tasks
@Gankra
Copy link
Contributor

Gankra commented Jan 7, 2015

CC @bheesham

@brson
Copy link
Contributor Author

brson commented Jan 14, 2015

Nominating because this could cause very bad problems if a stable release gets overwritten.

@bheesham
Copy link
Contributor

It looks like creating a passwords.py file, and adding it to .gitignore it is what the Mozilla Wiki recommends.

@alexcrichton
Copy link
Member

I believe this has been fixed, but feel free to correct me @brson

@brson
Copy link
Contributor Author

brson commented May 25, 2015

I don't consider this fixed yet because buildbot is still not behind HTTPS.

@alexcrichton alexcrichton reopened this May 26, 2015
@bheesham
Copy link
Contributor

bheesham commented Feb 8, 2016

Proxying requests to Buildbot through a server that supports TLS is the only way to get HTTPS working with Buildbot.

The buildbot web interface is already being proxied through nginx, so the configuration just needs to be tweaked to get it to be served over HTTPS.

@DemiMarie
Copy link
Contributor

Shouldn't this be P-High? It is a security vulnerability.

@steveklabnik steveklabnik added P-high High priority and removed P-medium Medium priority labels Jun 29, 2016
@steveklabnik
Copy link
Member

@DemiMarie thanks for the ping here. I believe that at one point, we re-named P-high to P-medium, since there were so many P-high issues, but given that this is security related, I think it's appropriate to re-mark it P-high. Or at the very least, I'm doing so so that this can be properly be re-evaluated by @brson and @alexcrichton ; if you two feel that's wrong for some reason, switch the tag back 😄

@alexcrichton
Copy link
Member

I've now configured letsencrypt and buildbot is behind HTTPS now, so I'm gonna close this. @brson though if I'm forgetting something feel free to reopen!

@DemiMarie
Copy link
Contributor

@alexcrichton Not @brson, just thinking in general about security, but just wondering if the buildbot credentials should be changed, since the current ones might have been leaked (and possibly changed to use TLS client certificates). HPKP might also be useful (the buildbot certificate should never change without everyone knowing).

@brson
Copy link
Contributor Author

brson commented Jun 30, 2016

@DemiMarie yes that's a good idea to change the passwords.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P-high High priority
Projects
None yet
Development

No branches or pull requests

6 participants