Description (CNA)
X-SpringBoot through 6.0 ships with a hardcoded static master login verification code 172839 enabled by default in the database seed. Unauthenticated attackers can authenticate as any user by submitting the public master code to the emailOrMobileLogin endpoint with a known email or mobile number.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| yzcheng90 / X-SpringBoot | affected 0 through 6.0 |
CWE
CWE-1392
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/doc/x_springboot.sql#L147
- https://github.com/yzcheng90/X-SpringBoot/blob/d74ddba989c0449948ff1ddb0d211b6a7ce81bfa/src/main/java/com/suke/czx/modules/sys/controller/SysLoginController.java#L94-L112
- https://github.com/yzcheng90/X-SpringBoot
- https://www.vulncheck.com/advisories/x-springboot-through-6.0-authentication-bypass-via-static-master-code
ADP enrichment
No English description supplied.
No references supplied.