Weak Randomness Vulnerability in Webmin by Webmin
CVE-2026-134636
6.3MEDIUM
What is CVE-2026-134636?
Webmin, up to version 2.670, has a vulnerability related to weak randomness in its Two-Factor Authentication (2FA) implementation. This issue arises from the way TOTP secrets are generated using a time and PID-seeded random number generator in the function generate_base32_secret(). An attacker aware of a user's password and capable of guessing the approximate time of enrollment can exploit this weakness to enumerate possible seeds, thereby reproducing the TOTP secret and bypassing the second layer of authentication. This significantly compromises the security integrity of the authentication process.
Affected Version(s)
webmin 0 <= 2.670
