Webmin through 2.670 contains a weak randomness vulnerability that allows attackers to predict TOTP two-factor secrets generated by generate_base32_secret() using a time and PID seeded rand(). Attackers who know a user's password and estimate enrollment time can enumerate candidate seeds, reproduce the secret, and bypass the second authentication factor.
https://github.com/webmin/webmin/issues/2941
https://github.com/webmin/webmin/blob/2.670/webmin/twofactor-funcs-lib.pl#L206
https://github.com/webmin/webmin/blob/2.670/web-lib-funcs.pl#L9736
https://github.com/webmin/webmin