RadarFound by Attacks on Public-Key Cryptography· 8 follow

Webmin weak RNG allows TOTP secret prediction and 2FA bypass

Nov 27 find · published Nov 25
GIgithub.com · 2 min readRead original
Weak RNG in TOTP generationImplementation flaw: predictable secretsPrivate key recovery via seed enumeration

Webmin through version 2.670 contains a weak randomness vulnerability in its TOTP secret generation. The generate_base32_secret() function seeds rand() with only the current time and process ID, allowing attackers who know a user's password to enumerate candidate seeds during the enrollment window and reproduce the TOTP secret. This enables bypass of the second authentication factor. The vulnerability is tracked as CVE-2026-134636 with a CVSS score of 6.3.

2.670Affected Webmin version
6.3CVSS severity score

Comments

Sign in to join the conversation.

More from this batch

TLS 1.2 authentication bypass in Erlang/OTP SSL librarygithub.comLinearized Reed-Solomon codes broken for McEliece encryptionarXiv · cs.CR
Attacks on Public-Key CryptographyNew attacks on public-key cryptography as they appear: cryptanalysis of RSA, elliptic curves and lattices (ML-KEM, ML-DSA, Falcon), breaks of post-quantum candidates, side-channel and fault attacks that recover keys, implementation flaws, and new quantum resource estimates. Papers first, with the numbers that matter.