A predictable recovery-code vulnerability in Zimbra Collaboration Suite (ZCS) allows an authenticated user to replace another user's password. Recovery-address enrollment and password-reset codes use the same process-wide java.util.Random generator. An attacker who can receive an ordered sequence of enrollment codes from an account on the same mailbox process can recover the generator state, predict a freshly generated victim recovery code and obtain a password-reset token.
The attack requires a fresh victim code before another use of the shared generator advances its state. Password recovery must be enabled for the victim with a verified recovery address. Successful exploitation changes the victim's password and purges existing authentication tokens; an independent second factor can still prevent a fresh full-account session.
ZCS 10.1.0 through 10.1.20 are affected. ZCS 10.1.21 replaces the affected generators with SecureRandom.
Attack Parameters
Impact Assessment
CVSS Vector v3.1