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

[SECURITY VULN] Auth bypass vulnerability #22

Open
dustin-decker opened this issue Oct 27, 2021 · 1 comment
Open

[SECURITY VULN] Auth bypass vulnerability #22

dustin-decker opened this issue Oct 27, 2021 · 1 comment

Comments

@dustin-decker
Copy link
Contributor

Posting here >90 days after notifying the author.

The auth in BreakGlass appears to only decode the JWT and use the values as-is with no validation. This means a user could provide a decodable JWT token that is not issued from Google with an email of their choosing, bypassing auth, and escalating their GCP privileges.

https://github.com/Stillerman/BreakGlass/blob/master/modules/breakglass-api/src/auth.ts

@Stillerman
Copy link
Owner

Thank you for bringing this to my attention! I will take a look at it this weekend.

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

No branches or pull requests

2 participants