Description (CNA)
waynboot-mall through 2.0.0 contains a missing authentication vulnerability that allows unauthenticated attackers to cancel any member's pending order via the /callback/order/unpaid endpoint. Attackers can submit predictable orderSn values, built from epoch seconds and a sequential counter, to auto-cancel unpaid orders and manipulate product stock levels.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| wayn111 / waynboot-mall | affected 0 through 2.0.0 |
CWE
CWE-306
References
- https://hackmd.io/@hieuPenguinnn/waynboot-mall-unauth-callback-order-forgery-cancel-mail-relay
- https://github.com/wayn111/waynboot-mall/blob/v2.0.0/waynboot-mobile-api/src/main/java/com/wayn/mobile/api/controller/callback/UnpaidOrderController.java#L26-L30
- https://github.com/wayn111/waynboot-mall/blob/v2.0.0/waynboot-common/src/main/java/com/wayn/common/core/service/shop/impl/OrderUnpaidServiceImpl.java#L36-L69
- https://www.vulncheck.com/advisories/waynboot-mall-through-2.0.0-missing-authentication-via-callback-order-unpaid
ADP enrichment
No English description supplied.