asd
GatekeeperBuster opened this issue · comments
Recently, our team found an arbitrary order deletion vulnerability in the latest version of the project.
The vulnerability logic is present in the file: https://github.com/Exrick/xmall/blob/master/xmall-front-web/src/main/java/cn/exrick/front/controller/OrderController.java#L62
Unauthorized access to the /member/delOrder
API enables attackers to manipulate the query param orderId
and delete orders belonging to other users.
To address this vulnerability, we strongly recommend that developers implement access control policies to ensure that only privileged users or the order owner are authorized to perform the delete operation.