Webmin versions through 2.670 have an improper certificate validation vulnerability in servers/save_serv.cgi that allows man-in-the-middle attackers to capture credentials. When fast RPC is set to Automatic, attackers intercepting the /fastrpc.cgi probe can obtain the remote Webmin username and password sent via HTTP Basic Authorization.
Webmin versions through 2.670 have an OS command injection vulnerability in ldap-client/check.cgi. This flaw allows LDAP directory writers to execute arbitrary commands as root by creating a posixAccount entry with shell metacharacters in its uid. The vulnerability is triggered when an administrator runs the Check Configuration function.
Webmin versions through 2.670 have a vulnerability in the randomness used to generate TOTP two-factor authentication secrets. The generate_base32_secret() function uses a time and PID seeded random number generator, which is predictable. An attacker who knows a user's password and can estimate the enrollment time can reproduce the TOTP secret and bypass the second factor.
Webmin versions up to 2.670 have an improper certificate validation vulnerability in the switch_smtp_to_ssl function, which fails to verify SSL certificates or check hostnames when establishing SMTP connections with SSL or STARTTLS. This flaw allows man-in-the-middle attackers to present arbitrary certificates and potentially capture SMTP authentication credentials and message content.
Webmin versions up to 2.670 contain a stored cross-site scripting (XSS) vulnerability in the postfix/view_mailq.cgi and sendmail/view_mailq.cgi components. This flaw allows unauthenticated attackers to inject malicious scripts via unsanitized MIME attachment filenames in queued messages. When a user views the affected mail queue in Webmin, the injected script executes in their session, potentially compromising their interaction with the interface.
Webmin versions through 2.670 have a stored cross-site scripting (XSS) vulnerability in the Upload and Download module. This flaw allows attackers controlling a download server to inject malicious scripts via unescaped HTTP status lines. The injected script is stored by the updown/download.pl script and later rendered unescaped by updown/index.cgi, enabling script execution in the context of a higher-privileged user's session.
Webmin versions through 2.670 have a stored cross-site scripting (XSS) vulnerability in ldap-client/popup_browser.cgi. This flaw allows attackers with write access to LDAP directory entries to inject malicious markup into LDAP attribute values, which are then rendered without HTML encoding. When an administrator views the affected LDAP entry in Webmin, the injected scripts execute in the context of the Webmin origin.
Webmin versions up to 2.670 have a Perl code injection vulnerability in the cluster-useradmin/sync.cgi component. This flaw allows attackers with root access on one managed host to execute arbitrary Perl code as root on other managed hosts by exploiting crafted home directory paths containing single quotes. The vulnerability arises from improper handling of string literals in remote_eval() during synchronization.
Webmin versions through 2.670 have a vulnerability in the generate_random_password() function where the random password generation is weak. This weakness arises because the seed_random() function seeds Perl's rand() with only the XOR of the current time and process ID, making generated passwords predictable. If the non-default random_password option is enabled and administrators retain the pre-filled password in edit_user.cgi, attackers can enumerate possible time and PID seeds to recover these passwords and authenticate as new accounts.
Webmin versions up to 2.670 contain a cross-site scripting (XSS) vulnerability in the status/edit_mon.cgi component. This flaw allows attackers to inject malicious scripts via unescaped monitor status descriptions. Attackers can exploit this by crafting malicious HTTP or FTPS servers, performing on-path attacks, or creating specially crafted filenames in monitored directories, leading to JavaScript execution in the context of a Webmin user's session.
Webmin versions up to 2.670 have a cross-site scripting (XSS) vulnerability in the mysql/index.cgi component. This flaw occurs because MySQL connection error messages and server version strings are rendered without proper escaping, allowing injection of malicious markup. Attackers who control the MySQL server or can intercept plaintext connections may exploit this to execute JavaScript in the context of Webmin user sessions.
Webmin versions up to 2.670 have a stored cross-site scripting (XSS) vulnerability in the Disk Quotas module. This flaw allows directory administrators to inject malicious markup through NSS user names. Attackers able to create or rename LDAP, NIS, or SSSD identities with blocks on XFS quota filesystems can execute scripts in the browsers of administrators who view quota/list_users.cgi.
Webmin versions up to 2.670 have a cross-site scripting (XSS) vulnerability in the mount/nfs_export.cgi component. This flaw allows malicious or spoofed NFS servers to inject JavaScript code via unescaped export paths. When a Webmin user browses these exports, the injected scripts can execute in their session, potentially leading to limited confidentiality and integrity impacts.
Webmin versions up to 2.670 have a remote code execution vulnerability in the Perl Modules (cpan) module. This module downloads CPAN indexes and archives over unencrypted HTTP without verifying checksums or signatures. An attacker on the network path can intercept these downloads and supply a malicious Makefile.PL file, which is executed as root during module installation, potentially allowing full system compromise.
Webmin versions up to 2.670 have a stored cross-site scripting (XSS) vulnerability in the ldap-useradmin/edit_user.cgi component. This flaw allows attackers with LDAP write access to inject malicious scripts via the sambaAcctFlags and sambaBadPasswordCount attributes, which are not properly HTML encoded. When a Webmin administrator opens the affected user entry in the editor, the malicious script executes in their browser.
Webmin versions up to 2.670 contain a stored cross-site scripting (XSS) vulnerability that allows local users or directory writers to inject malicious scripts by placing markup in user names, group names, or GECOS fields. This vulnerability affects certain Webmin CGI scripts that do not properly escape these values, leading to script execution in the browser of a Webmin user.
Webmin versions up to 2.670 have a vulnerability in the connect_ldap_db function where the LDAP root DN password is transmitted in cleartext when encryption is set to 'Detect automatically'. This allows passive network attackers to capture sensitive directory root credentials by observing the network traffic between Webmin and a remote LDAP server.
Webmin versions up to 2.670 contain a stored cross-site scripting (XSS) vulnerability in the lpadmin/list_jobs.cgi component. This flaw allows local users or network IPP clients to inject malicious scripts via CUPS print-job titles. An attacker can exploit this by submitting a print job with a crafted title, which executes script in the context of a Printer Administration user's Webmin session.
Webmin versions through 2.670 have a stored cross-site scripting (XSS) vulnerability. This flaw allows attackers to inject malicious scripts via values from managed hosts that cluster modules render without proper escaping. Attackers with the ability to edit server descriptions, control managed hosts, or intercept RPC links can exploit this to execute JavaScript in the administrator's session.
Webmin versions up to 2.670 have an insecure download vulnerability in their upgrade CGI scripts. These scripts fetch upgrade packages over unencrypted HTTP without enabling GnuPG signature verification by default. This allows an on-path attacker to substitute malicious upgrade packages, potentially leading to remote code execution with root privileges on the Webmin host and managed cluster servers.