570 Star 2K Fork 1.1K

tiankong0310 / my-shop

 / 详情

[security vulnerability] Arbitrary Address Details Access Vulnerability

待办的
创建于  
2023-06-30 15:05

Recently, our team found an arbitrary address details 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/ApiAddressController.java#L51

输入图片说明

As there is no verification process regarding the ownership of the address id before querying address details through addressService.queryObject(), attackers can manipulate /api/address/detail?id={id} and gain access to the address details of any user, thereby compromising user privacy.

To resolve this vulnerability, we strongly recommend that developers implement access control policies to restrict API access to admin users or the address owners.

评论 (0)

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

搜索帮助