1.4K Star 11.9K Fork 2.9K

老花生 / Open-Shop

 / 详情

[security vulnerability] Arbitrary Order confirm

Backlog
Opened this issue  
2023-12-20 14:18

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/ApiOrderFxController.java#225.

输入图片说明

The operation com.platform.dao.ApiOrderMapper.queryObject() is not protected by permission checks,
while the request of path confirmOrder is also unauthorized, which means an attacker can achieve Arbitrary Order confirm.

To address this vulnerability, we strongly advise that developers implement access control policies that limit API access to admin users or the owner.

Comments (0)

GatekeeperBuster created任务

Sign in to comment

Status
Assignees
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
参与者(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

Search