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

PUT /USER is abusable #1772

Open
ZhenFTW opened this issue Sep 11, 2024 · 1 comment
Open

PUT /USER is abusable #1772

ZhenFTW opened this issue Sep 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ZhenFTW
Copy link

ZhenFTW commented Sep 11, 2024

Bug report

Hi i just notice that the PUT /USER endpoint can be abused for adding putting data.

image

is it intended?

@ZhenFTW ZhenFTW added the bug Something isn't working label Sep 11, 2024
@ZhenFTW
Copy link
Author

ZhenFTW commented Sep 11, 2024

this can be abused by anyone just because everyone authenticated can access this endpoint and they can flood the /PUT user endpoint to set user data. But I think this could be disabled using RLS policy but seeing this is a default behavior might not be a good idea.

@ZhenFTW ZhenFTW changed the title Can updateUser or PUT/USER PUT /USER is abusable Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant