Description
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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| wayn111 | waynboot-mall | ≤ 2.0.0 | — |
References
- https://hackmd.io/@hieuPenguinnn/waynboot-mall-unauth-callback-order-forgery-cancel-mail-relay third-party-advisory
- 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 technical-description
- 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 technical-description
- VulnCheck Advisory: waynboot-mall through 2.0.0 Missing Authentication via /callback/order/unpaid third-party-advisory