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

⚠️ Unprotected route #82

Open
oSumAtrIX opened this issue Aug 4, 2022 · 3 comments
Open

⚠️ Unprotected route #82

oSumAtrIX opened this issue Aug 4, 2022 · 3 comments

Comments

@oSumAtrIX
Copy link

oSumAtrIX commented Aug 4, 2022

Affected route is not authorized and is actively being exploited:

https://github.com/mrdoob/glsl-sandbox/blob/master/server/server.go#L166

Solution

Add auth middleware to said route.

@oSumAtrIX oSumAtrIX changed the title Security issue Unprotected route Aug 4, 2022
@oSumAtrIX oSumAtrIX changed the title Unprotected route ⚠️ Unprotected route Aug 4, 2022
@jfontan
Copy link
Collaborator

jfontan commented Aug 4, 2022

Thank you for the heads up,

Hi, that route is unprotected as users cannot log in. I'm not sure how to stop this. Anyway, I cleaned up all these effects.

@oSumAtrIX
Copy link
Author

Only way I can imagine is to burden attackers via captcha if you need this route to be public.

@jfontan
Copy link
Collaborator

jfontan commented Aug 4, 2022

I'll think about what options we can add to stop these automated submissions. Thanks for the idea.

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