GHSA-5rgp-pr3q-qqfpMediumCVSS 4.8
Webmin through 2.670 contains a weak randomness vulnerability that allows attackers to predict...
🔗 CVE IDs covered (1)
📋 Description
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.
🔗 References (8)
- https://nvd.nist.gov/vuln/detail/CVE-2026-134636
- https://github.com/webmin/webmin/issues/2941
- https://doi.org/10.5281/zenodo.24396540
- https://github.com/webmin/webmin
- https://github.com/webmin/webmin/blob/2.670/web-lib-funcs.pl#L9736
- https://github.com/webmin/webmin/blob/2.670/webmin/twofactor-funcs-lib.pl#L206
- https://www.vulncheck.com/advisories/webmin-through-2.670-predictable-totp-secret-generation-via-generate-base32-secret
- https://github.com/advisories/GHSA-5rgp-pr3q-qqfp