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.
Webmin versions up to 2.670 have a stored cross-site scripting (XSS) vulnerability in ldap-server/edit_browser.cgi. This flaw allows attackers with write access to LDAP entry attributes to inject malicious script code into attribute values. When an administrator views the affected LDAP entry in the Webmin directory browser, the injected script executes within the administrator's session context, potentially enabling unauthorized actions. The vulnerability requires attacker write privileges and user interaction to trigger.
Webmin versions up to 2.670 have a cross-site scripting (XSS) vulnerability that allows on-path network attackers to inject malicious scripts by tampering with plaintext HTTP search results. This vulnerability arises because search results are rendered without proper escaping, enabling attackers who intercept responses from rpmfind.net or Google to inject autofocus/onfocus payloads. These payloads execute in the browser of a logged-in Webmin user within the Webmin origin.
Webmin versions through 2.670 have a stored cross-site scripting (XSS) vulnerability in the Servers Index module. This flaw allows unauthenticated attackers on the same broadcast domain to inject malicious scripts via the realhost field of UDP discovery replies. The injected scripts are stored and later rendered unescaped in Webmin user sessions, potentially leading to script execution in the context of the affected users.
Webmin versions through 2.670 have a stored cross-site scripting (XSS) vulnerability in the mailboxes/detach.cgi component. This flaw allows unauthenticated mail senders to bypass the HTML sanitizer by sending HTML attachments with entity-obfuscated javascript schemes or encoded script tags in iframe srcdoc. When users open these attachments in their Webmin session, the malicious script executes, potentially compromising the session.
Webmin versions up to 2.670 have a stored cross-site scripting (XSS) vulnerability in the mysql/view_table.cgi component. This flaw allows MySQL users with CREATE or ALTER privileges to inject malicious scripts via unescaped column names. When a Webmin administrator views the affected table, the injected scripts execute in their session, potentially compromising confidentiality and integrity.
Webmin versions up to 2.670 have a stored cross-site scripting (XSS) vulnerability that allows unauthenticated attackers to inject malicious scripts via failed-login usernames. These scripts can execute in administrator sessions when viewing the edit_blocked.cgi page in Webmin or Usermin. This vulnerability has a medium severity rating with a CVSS score of 6.1.
Webmin versions up to 2.670 have an improper certificate validation vulnerability in the generic_ldap_connect function within ldap-client-lib.pl. This flaw causes the software to accept any LDAPS or StartTLS server certificate without proper validation. As a result, man-in-the-middle attackers can impersonate the LDAP server, capture sensitive bind DN passwords (often the root DN), and return forged directory data.