Description
waynboot-mall through 2.0.0 contains a missing authentication vulnerability that allows unauthenticated attackers to send arbitrary email by calling the anonymously mapped /callback/email endpoint. Attackers can POST caller-supplied subject, content, and recipient to EmailController.sendEmail, sending messages from the operator's SMTP account for phishing, spam, and mail quota exhaustion.
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/EmailController.java#L32-L42 technical-description
- https://github.com/wayn111/waynboot-mall/blob/v2.0.0/waynboot-mobile-api/src/main/java/com/wayn/mobile/framework/config/SecurityConfig.java#L66 technical-description
- VulnCheck Advisory: waynboot-mall through 2.0.0 Missing Authentication via /callback/email Mail Endpoint third-party-advisory