CVE-2022-26318, also designated FBX-22786, is an unauthenticated remote code execution vulnerability in the wgagent service of WatchGuard Firebox and XTM appliances. Attacker-controlled XML handled by the agent-login XML-RPC interface reaches a libxml2 SAX callback that constructs an XPath string in a fixed-size buffer using unbounded string concatenation. Excessively long crafted XML element names can overflow the buffer into adjacent heap memory, including the SAX-handler structure. Overwriting a callback pointer enables control-flow hijacking when the parser invokes the corrupted callback. Exploit research demonstrated use of a ROP chain to execute shellcode; the tested process configuration had an executable stack. The issue affects Fireware OS releases before 12.7.2_U2, 12.x releases before 12.1.3_U8, and 12.2.x through 12.5.x releases before 12.5.9_U2.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
3 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos.
This repository contains a single Metasploit module targeting CVE-2022-26318, a pre-authentication remote command execution vulnerability in WatchGuard Firebox and XTM appliances running vulnerable versions of Fireware OS. The exploit abuses a buffer overflow in the /agent/login endpoint of the administration interface (typically on ports 8080 or 4117), which is handled by a Python backend and a C binary (wgagent). The module checks for the presence of a WatchGuard Firebox by querying /auth/login, then delivers a specially crafted, gzipped XML-RPC payload to /agent/login to trigger the overflow and execute a reverse Python shell as the 'nobody' user. The payload is written to a temporary file in /tmp on the target and connects back to the attacker's machine, providing an interactive shell. The exploit is weaponized, allowing for customizable payloads and is suitable for operational use. The code is written in Ruby and is structured as a standard Metasploit module.
This repository contains a Python proof-of-concept exploit (POCwg.py) for CVE-2022-26318, a remote code execution vulnerability affecting WatchGuard XTM and FireWare OS devices. The exploit works by sending a specially crafted, gzipped HTTP POST request to the /agent/login endpoint on the target device (default port 4117, R_HOST). The payload is designed to trigger a buffer overflow and execute a Python-based reverse shell, connecting back to the attacker's machine (L_HOST) on port 8888. The attacker must have a netcat listener running to receive the shell. The repository consists of the exploit script and a brief README. The exploit is operational, providing a working reverse shell if the target is vulnerable and reachable.
This repository contains a single file, README.md, which includes a full Python proof-of-concept exploit for CVE-2022-26318, a remote code execution vulnerability in WatchGuard XTM and FireWare OS devices. The exploit crafts a malicious XML-RPC payload, compresses it with gzip, and sends it over an SSL-wrapped TCP connection to the target device's agent login service on port 4117. If successful, the payload causes the target device to open a reverse shell connection back to the attacker's machine (L_HOST) on port 8888, granting the attacker remote command execution. The exploit is operational, with a hardcoded Python reverse shell payload, and requires the attacker to set up a netcat listener to receive the shell. The code is self-contained and does not rely on any external frameworks. The repository is focused and provides a clear demonstration of the vulnerability's impact.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
20 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A pre-authentication remote-code-execution vulnerability in WatchGuard Firebox and XTM appliances. A malformed XML request to the wgagent service triggers an unbounded strcat-based heap buffer overflow while constructing an XPath-like XML path. The overflow can overwrite libxml2 SAX callback pointers, enabling a ROP chain and execution of attacker-controlled shellcode.
A remote code execution vulnerability affecting WatchGuard Firebox/XTM devices.
A critical unauthenticated remote code execution vulnerability in WatchGuard Firebox and XTM appliances caused by a buffer overflow in the agent login XML-RPC endpoint on port 4117 when processing crafted gzip-compressed payloads.
A remote code execution vulnerability in WatchGuard Firebox, specifically targeting the /agent/login XML-RPC endpoint.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.