Description
macrozheng mall version 1.0.3 and prior contains an authentication vulnerability in the mall-portal password reset workflow that allows an unauthenticated attacker to reset arbitrary user account passwords using only a victim’s telephone number. The password reset flow exposes the one-time password (OTP) directly in the API response and validates password reset requests solely by comparing the provided OTP to a value stored by telephone number, without verifying user identity or ownership of the telephone number. This enables remote account takeover of any user with a known or guessable telephone number.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| macrozheng | mall | ≤ 1.0.3 | — |
References
- https://github.com/macrozheng/mall/issues/946 issue-tracking
- https://www.macrozheng.com/ product
- https://www.vulncheck.com/advisories/macrozheng-mall-unauthenticated-password-reset-via-otp-disclosure third-party-advisory