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

IDOR causes unauthorized changes to any user information #35

Closed
Jayway007 opened this issue May 27, 2020 · 1 comment
Closed

IDOR causes unauthorized changes to any user information #35

Jayway007 opened this issue May 27, 2020 · 1 comment

Comments

@Jayway007
Copy link

1、/personal/updateInfo,this interface can be used to update user information:
image
2、The corresponding code is as follows:
image
Track updateUserInfo method:
image
3、The code updates the information after querying by the value of userid, so you can modify any user information by tampering with the value of userId.

@ZHENFENG13
Copy link
Collaborator

好的,我尽快修改,感谢!

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

3 participants