CVE-2026-134636 Webmin through 2.670 Predictable TOTP Secret Generation via generate_base32_secret()
MediumCVSS 6.3
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| webmin | <= 2.670 | after 2.670 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| webmin | <= 2.670 | No fix listed |
References
- github.com product
- github.com technical-description
- github.com technical-description
- github.com issue-tracking
- Webmin 2.670 security audit catalogue technical-description
- VulnCheck Advisory: Webmin through 2.670 Predictable TOTP Secret Generation via generate_base32_secret() third-party-advisory
- ENISA EUVD EUVD-2026-134905 third-party-advisory
- nvd.nist.gov