1.4K Star 11.9K Fork 2.9K

老花生 / Open-Shop

 / 详情

[security vulnerability] Arbitrary Order Comfirm Vulnerability

待办的
创建于  
2023-06-30 14:26

Recently, our team found an arbitrary order confirm vulnerability in the latest version of the project.
The vulnerability logic is present in the file:
https://gitee.com/old-peanut/wechat_applet__open_source/blob/new/platform-api/src/main/java/com/platform/api/ApiOrderController.java#L246

输入图片说明

As there is no verification process regarding the ownership of the orderId before updating the order status via orderService.update(), attackers can confirm the receipt status of any order that belong 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 operation.

评论 (0)

GatekeeperBuster 创建了任务

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(1)
Java
1
https://gitee.com/old-peanut/wechat_applet__open_source.git
git@gitee.com:old-peanut/wechat_applet__open_source.git
old-peanut
wechat_applet__open_source
Open-Shop

搜索帮助