Webmin versions through 2.670 have an authentication bypass vulnerability in the password_change.cgi script. This flaw allows unauthenticated attackers to change passwords for accounts with empty stored password hashes. When the configuration parameter passwd_mode is set to 2, attackers can submit crafted POST requests with arbitrary old password values to set a new known password and gain unauthorized access.
Webmin versions through 2.670 have a stored cross-site scripting (XSS) vulnerability in the useradmin/edit_user.cgi component. This flaw occurs because home directory paths are displayed without proper HTML escaping to users with the autohome ACL. An attacker with broader Users and Groups privileges can inject malicious scripts into the home path via save_user.cgi, which then execute in the context of a restricted sub-administrator's Webmin session.
Webmin versions through 2.670 have a header directive injection vulnerability in the sendmail/autoreply.pl script. This flaw allows unauthenticated mail senders to inject autoreply directives via inbound email fields such as subject, from, date, or body. Exploitation can lead to deletion of files, exfiltration of readable files, or injection of arbitrary reply headers.
Webmin versions through 2.670 have an improper certificate validation vulnerability in the imap_login function within mailboxes/folders-lib.pl. This flaw causes the system to skip certificate verification and hostname checks for IMAP SSL connections. As a result, man-in-the-middle attackers can present any certificate to intercept IMAP credentials used by the System and Server Status IMAP monitor and potentially spoof monitor results.
Webmin versions up to 2.670 contain a stored cross-site scripting (XSS) vulnerability in the proc/trace.cgi component. This flaw allows local unprivileged operating system users to inject malicious markup through unescaped process arguments and system call parameters. When a Webmin user traces such a crafted process, the injected script executes within their session, potentially compromising confidentiality and integrity.
CVE-2026-130336 is an 'Eval Injection' vulnerability in the HWBridge custom methods command dispatcher of Rapid7 Metasploit Framework versions prior to 6.5.10. It allows a malicious or compromised hardware bridge to execute arbitrary code in the msfconsole process automatically when an operator connects to the bridge, without any operator action. This vulnerability arises from improper neutralization of directives in dynamically evaluated code.
Webmin versions through 2.670 have a STARTTLS downgrade vulnerability in the send_mail function within mailboxes/boxes-lib.pl. This flaw allows a man-in-the-middle attacker to strip or reject STARTTLS, causing the connection to continue over plaintext. As a result, SMTP AUTH credentials, crackable CRAM-MD5 exchanges, and email content can be intercepted.
Webmin versions up to 2.670 have an improper certificate validation vulnerability in servers/link.cgi that accepts self-signed certificates even when certificate checking is enabled. This flaw allows man-in-the-middle attackers presenting a valid hostname with a self-signed certificate to capture stored HTTP Basic credentials and inject HTML into the local Webmin interface.
Webmin versions up to 2.670 have a stored cross-site scripting (XSS) vulnerability in the init/mass_systemd.cgi component. This flaw occurs because unescaped journalctl output is printed when a systemd service fails to start. Attackers can inject malicious scripts into the system journal via logger or invalid sshd usernames, which then execute in an administrator's Webmin session.
Webmin versions up to 2.670 have a vulnerability in usermin/upgrade.cgi where upgrade packages are downloaded over unencrypted HTTP without integrity verification. This allows attackers with network or DNS control to supply malicious upgrade packages that execute code as root during the upgrade process.
Webmin versions up to 2.670 include an insecure default configuration in the Windows setup.bat script. This script creates an administrator account with default credentials admin/admin and disables SSL. As a result, unauthenticated attackers can access the Webmin administrative interface over plain HTTP on port 10000 using these default credentials.
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.