CVE-2026-134636
Webmin through 2.670 Predictable TOTP Secret Generation via generate_base32_secret()
Medium · 6.3
- CVSS
- 6.3
- EPSS
- 0.46% (p32)
- Published
- 2026-11-25
- Age
- 4d old
- Modified
- 2026-11-25
- Product
- webmin webmin
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
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.
Sources
- NVD · first seen 4d ago · NVD terms of use
- OSV · first seen 4d ago · CC-BY 4.0
- CVE List · first seen 4d ago · CVE Terms of Use
References
- https://github.com/webmin/webmin product
- https://github.com/webmin/webmin/blob/2.670/webmin/twofactor-funcs-lib.pl#L206 technical-description
- https://github.com/webmin/webmin/blob/2.670/web-lib-funcs.pl#L9736 technical-description
- https://github.com/webmin/webmin/issues/2941 issue-tracking
- https://doi.org/10.5281/zenodo.24396540 technical-description
- https://www.vulncheck.com/advisories/webmin-through-2.670-predictable-totp-secret-generation-via-generate-base32-secret third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134636.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-134636 advisory