Cloudanix VulnDB

CVE-2022-26318

Critical · 9.8 CISA KEV

CVSS

9.8

EPSS

78.2%

Published

Mar 4, 2022

CISA due date

Apr 15, 2022

Cloudanix analysis

Act now SSVC: Attend

Attackers can take control of vulnerable WatchGuard firewall devices from the internet, potentially giving them a path into the organization’s network.

Active In The Wild Wormable
Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Trivial
Impact
Remote Code Execution
Component
Firmware
Class
RCE
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

CVE-2022-26318 is a network-reachable, unauthenticated remote code execution vulnerability in WatchGuard Firebox and XTM appliances running vulnerable Fireware OS versions. Because exploitation requires no credentials or user interaction and can result in arbitrary code execution on the appliance, a successful attacker can potentially gain control of the firewall/VPN device, alter security controls, intercept or redirect traffic, establish persistence, and use the appliance as a foothold into protected networks.

Why it matters to the business

A compromised firewall can undermine the trust boundary between the internet and internal networks. Business impacts may include unauthorized network access, disruption of internet/VPN connectivity, exposure of sensitive traffic or credentials, security policy tampering, and use of the appliance as infrastructure for further attacks. The vulnerability is listed in CISA KEV with a remediation due date of 2022-04-15 and has active in-the-wild exploitation maturity, so any remaining exposed vulnerable appliances should be treated as high-priority remediation and potential compromise candidates.

How an attack unfolds

An attacker first identifies an internet-facing WatchGuard Firebox or XTM appliance running a vulnerable Fireware OS release. Because the flaw is unauthenticated and remotely reachable, the attacker does not need valid appliance credentials. The attacker sends a crafted network request to the vulnerable service, triggering code execution within the appliance context. After execution, the attacker may deploy tooling, create or modify administrative access, change firewall/VPN configuration, pivot through trusted network paths, capture traffic or credentials, or use the device as a resilient command-and-control relay. Given the KEV status and active exploitation history, exploitation should be assumed plausible wherever vulnerable management or service interfaces are reachable from untrusted networks.

How to fix it

Upgrade affected WatchGuard Firebox and XTM appliances to a fixed Fireware OS release. According to the advisory data, affected versions include Fireware OS before 12.7.2_U2, 12.x before 12.1.3_U8, and 12.2.x through 12.5.x before 12.5.9_U2. If immediate upgrade is not possible, restrict appliance management and administrative interfaces to trusted networks or VPN-only access, block unnecessary inbound exposure from the internet, enforce strong administrative authentication, review and minimize management services, and monitor for unexpected configuration changes. Because this is a network-edge device vulnerability with known exploitation, mitigation should not be treated as a substitute for upgrading.

How to confirm the fix worked

Confirm the running Fireware OS version on each WatchGuard Firebox and XTM appliance and verify it is at or above the applicable fixed release: 12.7.2_U2, 12.1.3_U8 for the 12.1 branch, or 12.5.9_U2 for the 12.2 through 12.5 branches. Validate that administrative and management services are not exposed to untrusted networks unless explicitly required and protected. Run external attack-surface scans to ensure only intended WatchGuard services are reachable. Review appliance configuration backups before and after remediation for unauthorized account, VPN, NAT, policy, routing, or DNS changes. Where supported, run vendor-recommended integrity checks or recovery procedures for devices suspected of compromise.

Typical attack path

  1. Scan the internet or target address ranges for exposed WatchGuard Firebox or XTM appliances.
  2. Fingerprint Fireware OS version or infer vulnerable versions from service behavior and banners.
  3. Send a crafted unauthenticated request to the vulnerable appliance service.
  4. Achieve arbitrary code execution on the firewall appliance.
  5. Establish persistence or unauthorized administrative control if possible.
  6. Modify firewall, VPN, routing, or NAT configuration to support continued access or lateral movement.
  7. Use the appliance as a foothold to reach internal systems, intercept traffic, or proxy additional malicious activity.

How to detect it

To assess prior exploitation, collect appliance system logs, administrative audit logs, VPN logs, traffic logs, configuration change history, firmware/version history, and external firewall or netflow records covering the period before remediation. Look for unauthenticated requests or abnormal traffic to exposed WatchGuard services followed by appliance instability, crashes, unexpected reboots, new or modified administrator accounts, changed firewall rules, changed NAT/routing/DNS settings, unexpected VPN users or sessions, unfamiliar certificates or shared secrets, and outbound connections from the appliance to unusual internet destinations. Compare current configuration to known-good backups and investigate any changes not tied to approved maintenance. Correlate suspicious appliance events with internal authentication logs and lateral movement telemetry. Because public input for this CVE does not provide a unique exploit URI, payload string, file path, or process artifact, detection should rely on behavioral evidence, configuration drift, network telemetry, and vendor-specific forensic tooling rather than a single signature.

What your security team should do

  • Immediately inventory all WatchGuard Firebox and XTM appliances, including internet-facing, branch, lab, and standby devices.
  • Prioritize patching or replacing any appliance running Fireware OS before the applicable fixed version because this vulnerability is KEV-listed and actively exploited in the wild.
  • Restrict management-plane access to trusted administrative networks and remove direct internet exposure wherever possible.
  • Treat vulnerable internet-exposed appliances as potentially compromised; review configurations, accounts, VPN users, certificates, routing, NAT, and firewall policies for unauthorized changes.
  • Collect and preserve appliance logs, configuration backups, firmware version evidence, and external scan results before reimaging or replacing any suspected compromised device.
  • Rotate credentials and secrets that may have traversed or been stored on the appliance, including administrative passwords, VPN credentials, shared secrets, and certificates where exposure is suspected.
  • Increase monitoring for unusual outbound connections, unexpected VPN sessions, policy changes, and traffic patterns originating from the appliance.
  • If compromise is suspected, follow WatchGuard/vendor recovery guidance, consider factory reset or clean firmware reinstall, and restore only verified-clean configuration.

The record

On WatchGuard Firebox and XTM appliances, an unauthenticated user can execute arbitrary code, aka FBX-22786. This vulnerability impacts Fireware OS before 12.7.2_U2, 12.x before 12.1.3_U8, and 12.2.x through 12.5.x before 12.5.9_U2.

Affected packages

Ecosystem Package Introduced Fixed