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.
Metrics
CVSS 3.1 4.8/10
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| webmin | webmin | <= 2.670 |
References
- https://doi.org/10.5281/zenodo.24396540
- https://github.com/webmin/webmin
- https://github.com/webmin/webmin/blob/2.670/useradmin/user-lib.pl#L2861
- https://github.com/webmin/webmin/blob/2.670/web-lib-funcs.pl#L9736
- https://github.com/webmin/webmin/issues/2941
- https://www.vulncheck.com/advisories/webmin-through-2.670-predictable-password-generation-in-users-and-groups-module
Timeline
- Published
- Nov 25, 2026
- Last modified
- Nov 30, 2026
- NVD status
- Deferred