Skip to content
Wednesday, October 21, 2026AboutContactRSS
XWorm C2 Panel Path Traversal Enables Unauthenticated Remote Code Execution
Vulnerabilities

XWorm C2 Panel Path Traversal Enables Unauthenticated Remote Code Execution

Researchers found that the XWorm RAT control panel allows attackers to overwrite system files and run code without logging in, using data found in infected clients.

Key points

  • The flaw affects XWorm C2 panel versions up to 7.4 and allows unauthenticated remote code execution.
  • Attackers need the panel address, port, and communication key, which are stored in the malware client configuration.
  • An independent researcher discovered the issue on October 4 and published a proof-of-concept exploit for it.

The XWorm remote access trojan control panel contains a path traversal vulnerability that permits remote code execution. This flaw allows an attacker to overwrite dynamic link libraries on the server hosting the command-and-control infrastructure. The compromise occurs without any authentication or interaction from the legitimate malware operator, effectively handing over control of the C2 server to the attacker.

Root cause

The underlying issue involves how the control panel processes connections from clients. According to SecurityWeek, an attacker can leverage path traversal techniques to overwrite a DLL file on the host system. This behavior allows arbitrary code to execute on the server. The vulnerability exists in the panel’s logic, enabling the overwrite without requiring the operator to take any action.

Attack path

Exploitation requires specific network details rather than just public internet access. An attacker must possess the panel’s IP address, the listening port, and the communication key. These three pieces of information can be pulled from an XWorm client’s configuration. By reverse-engineering an XWorm sample, researcher Mootoo extracted these details. The attacker then poses as an infected machine, sends the malicious payload, and triggers the DLL overwrite to gain code execution on the C2 host.

Affected versions

The vulnerability impacts XWorm C2 panel versions up to and including 7.4. SecurityWeek reported that the researcher identified this flaw while analyzing a sample used in an attack attempt against them. There is no indication in the source material that versions newer than 7.4 have been released or patched, but the confirmed scope is limited to those earlier iterations. Operators using version 7.4 or below are exposed to this remote takeover risk.

Mitigation

  • Restrict network access to the C2 panel so that only authorized client IPs can connect, reducing the attack surface for external attackers.
  • Monitor the server filesystem for unexpected changes to DLL files or system libraries, which would indicate an active exploitation attempt.
  • Isolate the C2 infrastructure on a segmented network to prevent lateral movement if a host is compromised via this path traversal flaw.
  • Review client configuration files for exposed communication keys and rotate them immediately to invalidate any stolen credentials used by attackers.

Signals worth monitoring

Teams usually detect this type of infrastructure compromise by watching for unusual file modifications on the server hosting the control panel. Look for unexpected writes to system directories or changes to dynamic link libraries that do not correspond to scheduled maintenance. Network logs may show connections from IP addresses that do not match known victim ranges or exhibit anomalous timing patterns. First containment moves typically involve isolating the affected server from the rest of the network to stop the attacker from executing further commands or stealing additional data.

What to do and how to stay safe: XWorm

  • Audit your organization's network logs for any connections to known XWorm C2 indicators of compromise, checking for the specific ports and keys associated with the malware.
  • Ensure that your endpoint detection and response tools are scanning for the presence of XWorm client configurations, which contain the sensitive keys attackers need.
  • Once the vendor provides an update for the C2 panel, apply it immediately to close the path traversal vulnerability and prevent unauthorized code execution.
  • Review firewall rules to ensure that servers intended for internal use are not accidentally exposed to the public internet, limiting the pool of potential attackers.

Step-by-step guide: Attack Surface Management: 6 Common Misreadings and Correct Views

General security guidance from the NetSec Observer newsroom. It is not confirmed advice from the organisations named in this story.

Frequently asked questions

What information does an attacker need to exploit this XWorm flaw?

An attacker needs the C2 panel’s address, the port number, and the communication key, all of which can be pulled from an XWorm client configuration file.

When was this vulnerability discovered?

The researcher Mootoo found the flaw on October 4 while reverse-engineering an XWorm sample that had been used to target them.

Is there a confirmed patch for versions up to 7.4?

No fix has been confirmed yet in the available source material; the article reports the existence of the flaw and a proof-of-concept exploit but does not mention a vendor release.

Sources

  1. SecurityWeek

Related stories

Astral uv Path Traversal in Source Distribution Extraction Allows Arbitrary File Write

A high-severity flaw in Astral uv versions before 0.8.22 lets attackers write files outside the intended directory via crafted symlinks in source distributions.