CVE-2026-134642 in Webmininfo

Summary

by MITRE • 11/25/2026

Webmin through 2.670 contains a missing authentication vulnerability in fastrpc.cgi that allows unauthenticated network peers to connect to tcpwrite and tcpread file-transfer listeners without session checks. Attackers can race to connect to the predictable transfer port during cluster operations to steal transferred files or replace staged packages, achieving root code execution.

Be aware that VulDB is the high quality source for vulnerability data.

Analysis

by VulDB Data Team • 11/25/2026

The vulnerability identified in Webmin versions through 2.670 represents a critical failure in access control mechanisms within the fastrpc.cgi component. This flaw specifically affects the tcpwrite and tcpread file-transfer listeners, which are designed to facilitate data exchange between nodes in a Webmin cluster environment. Under normal operational conditions, these services should enforce strict session validation to ensure that only authenticated administrators can initiate or participate in file transfers. However, due to missing authentication checks, an unauthenticated network peer can establish direct connections to these endpoints without providing valid credentials or possessing a legitimate active session token. This absence of verification allows external actors to bypass the intended security boundaries and interact directly with internal cluster communication channels that were not designed for public access.

The technical nature of this flaw involves predictable port allocation during cluster operations, which significantly lowers the barrier for exploitation. When Webmin nodes engage in file transfer activities such as package staging or configuration synchronization, they open temporary TCP ports to handle the data stream. Because these ports are predictable and lack authentication gating, an attacker can race to connect to them before legitimate processes complete their tasks. This timing aspect is crucial; by intercepting the connection window, a malicious actor can inject themselves into the communication channel. The ability to hijack or observe these transfers means that sensitive configuration files, user data, or software packages being staged for installation are exposed to interception and manipulation without any cryptographic protection of identity.

The operational impact of this vulnerability is severe, extending beyond simple data exfiltration to full system compromise. An attacker who successfully exploits the race condition can steal transferred files, potentially gaining access to sensitive administrative configurations, user credentials stored in plain text or weak hashes, and other proprietary information. More critically, if an attacker replaces staged packages with malicious payloads during the transfer process, they can achieve remote code execution as root when those packages are subsequently installed by the Webmin service. Since Webmin typically runs with elevated privileges to manage system configurations, this chain of exploitation results in complete control over the underlying operating system. This level of access allows for persistent backdoors, lateral movement within the network, and destruction or encryption of critical data.

From a classification perspective, this vulnerability aligns closely with CWE-287, which denotes Improper Authentication, as the core issue is the failure to verify user identity before granting access to sensitive functions. It also relates to CWE-354 regarding the lack of integrity checks for generated code or data from an external source, particularly in how staged packages are handled without verification against untrusted inputs. In terms of adversary tactics, this exploit maps to MITRE ATT&CK technique T1078, Valid Accounts, although it is achieved through authentication bypass rather than credential theft, and potentially T1564, Hidden Files and Directories if the attacker uses the access for stealthy persistence. The predictability of the ports also touches upon CWE-200, Information Exposure, as network traffic patterns can be leveraged to identify active cluster operations.

Mitigation strategies must focus on immediate remediation and architectural hardening. The primary solution is to upgrade Webmin to version 2.671 or later, where this authentication gap has been addressed by enforcing session checks for all tcpwrite and tcpread connections. For systems that cannot be immediately patched, network-level controls are essential; administrators should restrict access to the ports used by fastrpc.cgi using firewall rules, allowing only trusted internal IP addresses associated with known cluster nodes. Additionally, enabling HTTPS-only mode in Webmin settings can help mitigate some risks by encrypting traffic, though it does not fully resolve the authentication bypass if an attacker is on a trusted network segment. Regular auditing of active sessions and monitoring for unusual TCP connection patterns to high-numbered ephemeral ports can also aid in early detection of exploitation attempts.

Responsible

VulnCheck

Reservation

11/21/2026

Disclosure

11/25/2026

Moderation

accepted

CPE

ready

EPSS

0.00680

KEV

no

Activities

very low

Sources

Do you need the next level of professionalism?

Upgrade your account now!