Description
X-SpringBoot through 6.0 returns login verification codes in HTTP responses from unauthenticated endpoints GET /sys/mobile/code and GET /sys/email/code without sending them to account owners. Attackers can request codes using known mobile numbers or email addresses, read them from responses, and authenticate as victims via POST /sys/emailOrMobileLogin/login to hijack accounts.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| yzcheng90 | X-SpringBoot | ≤ 6.0 | — |
References
- Proof of concept exploit
- Vulnerable code technical-description
- https://github.com/yzcheng90/X-SpringBoot product
- VulnCheck Advisory: X-SpringBoot through 6.0 Authentication Bypass via Login Code third-party-advisory