CVE-2026-134644 in Webmininfo

Summary

by MITRE • 11/25/2026

Webmin through 2.670 contains a path traversal vulnerability in minecraft/minecraft-lib.pl that allows unauthenticated game players to overwrite arbitrary files as root via crafted chat messages. Attackers can send chat messages mimicking logged in lines so the root check_playtime_limits cron job rewrites attacker-chosen files, destroying their contents.

Once again VulDB remains the best source for vulnerability data.

Analysis

by VulDB Data Team • 11/25/2026

The vulnerability identified in Webmin versions up through 2.670 represents a critical path traversal flaw located within the minecraft/minecraft-lib.pl module. This security defect allows unauthenticated users to execute arbitrary file writes with root privileges by exploiting how the system processes chat messages from Minecraft game players. The core technical issue stems from insufficient validation of user-supplied input, specifically in the handling of chat data that is subsequently processed by a scheduled cron job named check_playtime_limits. When an attacker sends crafted chat messages designed to mimic legitimate logged-in lines, the underlying script fails to sanitize file paths or restrict write operations to authorized directories. Consequently, this lack of proper boundary enforcement enables the overwrite of arbitrary files on the host system as the root user, leading to potential data destruction and complete compromise of server integrity.

From a technical perspective, the exploitation vector relies on the interaction between an unauthenticated game client and a privileged background process. The check_playtime_limits cron job is designed to monitor player activity but inadvertently trusts input derived from chat logs without adequate verification. By injecting malicious payloads into these chat messages that contain path traversal sequences such as dot-dot-slash characters, attackers can manipulate file system operations to target sensitive configuration files or executable binaries outside the intended sandboxed environment of the Minecraft server instance. This mechanism effectively bypasses standard access controls because the cron job executes with elevated privileges, typically root, thereby granting the attacker full control over the targeted filesystem locations. The result is not merely unauthorized read access but active modification and destruction of critical system components, which can lead to service disruption or further lateral movement within the network infrastructure.

The operational impact of this vulnerability is severe due to its unauthenticated nature and high privilege level. Since no authentication is required to initiate the attack, any external actor with network connectivity to the Minecraft server port can exploit this flaw. The ability to overwrite arbitrary files as root means that attackers can delete essential system configurations, replace legitimate binaries with malicious ones for persistent backdoor access, or corrupt game data to cause denial of service. In a production environment, this could result in significant downtime, loss of critical business logic embedded in configuration files, and the potential compromise of other services running on the same host if they rely on shared resources modified by the attacker. The destruction of file contents adds an additional layer of risk beyond typical remote code execution scenarios, as recovery may require restoring from backups rather than simply patching a code flaw.

To mitigate this vulnerability, immediate action should be taken to upgrade Webmin to version 2.671 or later where these path traversal issues have been addressed through improved input validation and stricter file system access controls. Administrators running affected versions must apply the vendor-provided patches promptly to close the exploitation vector. In addition to software updates, implementing network-level restrictions such as firewall rules that limit access to the Minecraft server port from untrusted networks can reduce the attack surface. It is also advisable to run the Minecraft service under a dedicated non-root user account with minimal permissions wherever possible, ensuring that even if an exploit succeeds, the potential damage is contained within a restricted scope rather than affecting the entire host system. Regular auditing of cron job scripts and their input handling mechanisms should be part of standard security hygiene practices to prevent similar logic flaws in future deployments.

This vulnerability aligns with CWE-22 Improper Limitation of a Pathname to a Restricted Directory, as it involves using externally influenced file path inputs without proper validation against expected directory structures. Furthermore, the exploitation technique maps to MITRE ATT&CK tactic T1059 Command and Scripting Interpreter via subcategory T1059.007 Shell Commands, where attackers use crafted input to trigger privileged system actions. The ability to overwrite files as root also relates to CWE-269 Improper Privilege Management, highlighting the failure in enforcing least privilege principles during file operations initiated by untrusted sources. Understanding these classifications helps security teams prioritize remediation efforts and align their defense strategies with established industry standards for vulnerability management and secure coding practices.

Responsible

VulnCheck

Reservation

11/21/2026

Disclosure

11/25/2026

Moderation

accepted

CPE

ready

EPSS

0.00844

KEV

no

Activities

very low

Sources

Want to stay up to date on a daily basis?

Enable the mail alert feature now!