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

Use secure mode 600 instead of 644 for acme.json #639

Merged
merged 1 commit into from
Aug 24, 2016

Conversation

discordianfish
Copy link
Contributor

@discordianfish discordianfish commented Aug 22, 2016

Right now, traefik stores the cert data, including the private key, in a world readable file. This is a big security concern.

Closes #638

@errm
Copy link
Contributor

errm commented Aug 22, 2016

LGTM ping @containous/traefik

@tboerger
Copy link
Contributor

LGTM
@emilevauge maybe you also wants to check the permission on traefik start?

@emilevauge
Copy link
Member

LGTM, thanks @discordianfish

@bamarni
Copy link
Contributor

bamarni commented Jan 1, 2017

I've opened #1009 to check on startup as suggested by @tboerger, otherwise people affected by this would still be vulnerable after upgrading traefik.

bamarni added a commit to bamarni/traefik that referenced this pull request Jan 12, 2017
Follow-up from traefik#639. At the moment people that were affected
by this security issue would still be vulnerable even after upgrading.

This patch makes sure permissions are also checked for already existing
files.

Signed-off-by: Bilal Amarni <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants