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.
https://github.com/webmin/webmin/issues/2941
https://github.com/webmin/webmin/blob/2.670/web-lib-funcs.pl#L9736
https://github.com/webmin/webmin/blob/2.670/useradmin/user-lib.pl#L2861
https://github.com/webmin/webmin