You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The developer failed to check the ownership of the order with the access user when querying the order details via orderService.getOrder(), allowing attackers to manipulate the query param orderId of API /member/orderDetail and access other users' order details, potentially compromising user privacy data.
To address this vulnerability, we strongly recommend that developers implement access control policies to ensure that only privileged users or the owner can access the order information.
The text was updated successfully, but these errors were encountered:
Recently, our team found an arbitrary order detail access vulnerability (different with #79) 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#L36
The developer failed to check the ownership of the
order
with the access user when querying the order details viaorderService.getOrder()
, allowing attackers to manipulate the query paramorderId
of API/member/orderDetail
and access other users' order details, potentially compromising user privacy data.To address this vulnerability, we strongly recommend that developers implement access control policies to ensure that only privileged users or the owner can access the order information.
The text was updated successfully, but these errors were encountered: