You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The operation ltd.newbee.mall.dao.NewBeeMallCouponMapper.reduceCouponTotal() is not protected by permission checks,
while the request of path is also unauthorized, which means an attacker can achieve arbitrary coupon obtain.
To address this vulnerability, we strongly advise that developers implement access control policies that limit API access to admin users or the owner.
The text was updated successfully, but these errors were encountered:
Recently, our team found an arbitrary coupon obtain vulnerability in the latest version of the project.
The vulnerability logic is present in the file:https://github.com/newbee-ltd/newbee-mall-plus/blob/main/src/main/java/ltd/newbee/mall/controller/mall/CouponController.java#57.
The operation
ltd.newbee.mall.dao.NewBeeMallCouponMapper.reduceCouponTotal()
is not protected by permission checks,while the request of path is also unauthorized, which means an attacker can achieve arbitrary coupon obtain.
To address this vulnerability, we strongly advise that developers implement access control policies that limit API access to admin users or the owner.
The text was updated successfully, but these errors were encountered: