Description
NivoCart through 2.4.0 contains a predictable password reset token vulnerability in the forgotten.php endpoint that generates recovery codes using substr(md5(mt_rand()), 0, 10). Attackers who know an administrator's email address can request a password reset and predict the token to gain administrative account access without rate limiting or expiration.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| nivocart | nivocart | ≤ 2.4.0 | — |
References
- GitHub Issue #25 issue-tracking
- reset token generation at v2.4.0 technical-description
- getUserByCode at v2.4.0 technical-description
- https://github.com/nivocart/nivocart product
- VulnCheck Advisory: NivoCart through 2.4.0 Predictable Administrator Password Reset Token third-party-advisory