Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| yzcheng90 / X-SpringBoot | affected 0 through 6.0 |
CWE
CWE-287
References
- https://github.com/LinYuanyi1/cve-request-poc/blob/master/x-springboot/02_sms-code-account-takeover.py
- https://github.com/yzcheng90/X-SpringBoot/blob/d74ddba989c0449948ff1ddb0d211b6a7ce81bfa/src/main/java/com/suke/czx/modules/sys/controller/SysLoginController.java#L94-L134
- https://github.com/yzcheng90/X-SpringBoot
- https://www.vulncheck.com/advisories/x-springboot-through-6.0-authentication-bypass-via-login-code
ADP enrichment
No English description supplied.
No references supplied.