570 Star 2K Fork 1.1K

tiankong0310 / my-shop

 / 详情

[security vulnerability] arbitrary order goods access

待办的
创建于  
2023-12-20 14:25

Recently, our team found an arbitrary order goods access vulnerability in the latest version of the project.

The vulnerability logic is present in the file:https://gitee.com/tiankong0310/my-shop/blob/master/my-shop-api/src/main/java/com/fengdu/api/ApiOrderController.java#97.

输入图片说明

The operation com.fengdu.dao.ApiOrderGoodsMapper.queryList() is not protected by permission checks,
while the request of path detail is also unauthorized, which means an attacker can achieve arbitrary order goods access.

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

评论 (0)

GatekeeperBuster 创建了任务
GatekeeperBuster 修改了描述
展开全部操作日志

登录 后才可以发表评论

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

搜索帮助