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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| webmin | webmin | ≤ 2.670 | — |
Advisories 1
- WID-SEC-2026-4785 Webmin: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 24, 2026
References
- https://github.com/webmin/webmin product
- https://github.com/webmin/webmin/blob/2.670/web-lib-funcs.pl#L9736 technical-description
- https://github.com/webmin/webmin/blob/2.670/useradmin/user-lib.pl#L2861 technical-description
- https://github.com/webmin/webmin/issues/2941 issue-tracking
- Webmin 2.670 security audit catalogue technical-description
- VulnCheck Advisory: Webmin through 2.670 Predictable Password Generation in Users and Groups Module third-party-advisory