We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No access control implemented, the user data update endpoint is not authenticated so anyone can change any user data
Steps to reproduce the behavior, please provide code snippets or a repository:
I found a lot of logic that does not implement access control, one of which is:
const submission = parse(formData, { schema: schemaUserFullName }) if (!submission.value) return json(submission, { status: 400 }) await modelUser.updateFullName(submission.value) await timer.delay() return json(submission)
curl 'https://bandungdev.com/user/settings?_data=routes%2Fuser.settings' --data-raw 'id=userId&intent=user-change-fullname&fullname=Hacked by jeager'
OWASP Broken Access Control
The text was updated successfully, but these errors were encountered:
Thanks @jeagercoder for the security report.
We'll fix to put all the important route loaders/actions to include the authorization access control.
In the meantime I've restored the backup already.
References:
Sorry, something went wrong.
mhaidarhanif
fikrialwan
agus-wesly
No branches or pull requests
Security report
Describe the bug
No access control implemented, the user data update endpoint is not authenticated so anyone can change any user data
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
I found a lot of logic that does not implement access control, one of which is:
Reference
OWASP Broken Access Control
The text was updated successfully, but these errors were encountered: