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/tiankong0310/my-shop/blob/master/my-shop-goods/src/main/java/com/fengdu/controller/CartController.java#79.
The operation `com.fengdu.dao.CartDao.update()` is not protected by permission checks,
while the request of path `/update` is also unauthorized, which means an attacker can achieve arbitrary cart update.
To address this vulnerability, we strongly advise that developers implement access control policies that limit API access to admin users or the owner.
新值
Recently, our team found an arbitrary cart update 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-goods/src/main/java/com/fengdu/controller/CartController.java#79.