Webmin through 2.670 Predictable Password Generation in Users and Groups Module
- State
- Published
- Severity
- 6.3 Medium
- Published
- Nov 25, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 21, 2026
Description
Webmin through 2.670 contains a weak random password generation vulnerability in generate_random_password() that allows attackers to predict generated account passwords because seed_random() effectively seeds Perl rand() with only time XOR process ID. When the non-default random_password option is enabled and administrators keep the pre-filled password in edit_user.cgi, attackers can enumerate time and PID seeds to recover passwords and authenticate as new accounts.
| Product | Versions |
|---|---|
| webmin webmin | 2.670 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.3 Medium | VulnCheck | |
| 3.1 | 4.8 Medium | VulnCheck |
Weaknesses
- CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
References
- https://github.com/webmin/webminProduct Page
- https://github.com/webmin/webmin/blob/2.670/web-lib-funcs.pl#L9736Technical Details
- https://github.com/webmin/webmin/blob/2.670/useradmin/user-lib.pl#L2861Technical Details
- https://github.com/webmin/webmin/issues/2941Issue Tracker
- Webmin 2.670 security audit catalogueTechnical Details
- VulnCheck Advisory: Webmin through 2.670 Predictable Password Generation in Users and Groups ModuleThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.