CVE-2026-134636

medium

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

https://www.vulncheck.com/advisories/webmin-through-2.670-predictable-totp-secret-generation-via-generate-base32-secret

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

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-134905

https://doi.org/10.5281/zenodo.24396540

Details

Source: Mitre, NVD

Published: 2026-11-25

Updated: 2026-11-30

CVSS v3

Base Score: 4.8

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Severity: Medium

CVSS v4

Base Score: 6.3

Vector: 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

Severity: Medium

EPSS

EPSS: 0.00462