Skip to content

IDOR causes unauthorized changes to any user information #35

Closed
@Jayway007

Description

@Jayway007

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions