Cloudanix VulnDB

CVE-2022-23176

High · 8.8 CISA KEV

CVSS

8.8

EPSS

10.8%

Published

Feb 24, 2022

CISA due date

May 2, 2022

Cloudanix analysis

Act now SSVC: Attend

Attackers with a basic login could take control of vulnerable WatchGuard firewalls if their management access was exposed online.

Active In The Wild
Exploitation
Remote Authenticated
Attacker needs
Low Privilege
Complexity
Low
Impact
Privilege Gain
Component
Firmware
Class
Privilege Escalation
Remediation
Upgrade
Effort
Medium
Patch risk
Medium

What it actually does

CVE-2022-23176 is a network-reachable privilege escalation flaw in WatchGuard Firebox and XTM appliances running vulnerable Fireware OS versions. When management access is exposed, a remote attacker who already has unprivileged appliance credentials can obtain a privileged management session. Because the session is privileged, the attacker can perform administrative actions such as changing firewall policy, creating or modifying users, exporting configuration, altering VPN settings, disabling controls, rebooting the appliance, or staging additional persistence. The affected versions are Fireware OS before 12.7.2_U1, 12.x before 12.1.3_U3, and 12.2.x through 12.5.x before 12.5.7_U3.

Why it matters to the business

A compromised firewall can give an attacker control over a core network security boundary. This may allow unauthorized access to internal services, traffic interception or redirection, VPN abuse, security policy weakening, operational disruption, and loss of trust in perimeter controls. The vulnerability is listed in CISA KEV, has documented exploitation in the wild, and had a CISA remediation due date of 2022-05-02, so any remaining exposure should be treated as overdue and high priority even though the attacker needs some valid low-privilege credentials.

How an attack unfolds

An attacker first identifies a WatchGuard Firebox or XTM appliance with Internet-exposed management access, commonly the Web UI or management services. The attacker then obtains or guesses a low-privilege credential through credential reuse, phishing, password spraying, prior compromise, or exposed secrets. Using those credentials, the attacker authenticates to the vulnerable management interface and triggers the privilege escalation condition that grants a privileged management session. With administrative access, the attacker can modify firewall rules, add accounts, change VPN configuration, export sensitive configuration data, disable logging or security features, and create a foothold for continued access. Because this issue is known to be exploited in the wild and is in CISA KEV, defenders should assume that exposed vulnerable appliances may have been targeted and should perform compromise assessment in addition to patching.

How to fix it

Upgrade affected WatchGuard Firebox and XTM appliances to a fixed Fireware OS release. Fireware OS versions before 12.7.2_U1 should be upgraded to 12.7.2_U1 or later; 12.x versions before 12.1.3_U3 should be upgraded to 12.1.3_U3 or later if remaining on that branch; and 12.2.x through 12.5.x should be upgraded to 12.5.7_U3 or later if remaining on that branch. Where possible, upgrade to the latest supported Fireware OS release rather than only the minimum fixed version. Disable Internet-exposed management access unless it is strictly required. Restrict management interfaces to trusted administrative networks, VPN-only access, or explicit source IP allowlists. Enforce strong unique passwords and multifactor authentication where supported. Remove unused local accounts, review role assignments, rotate administrative and service credentials, and inspect configuration for unauthorized changes. If exploitation is suspected, treat the appliance as a potentially compromised security boundary: preserve logs and configuration, rebuild or factory reset from trusted firmware where appropriate, reapply a known-good configuration, rotate VPN keys and shared secrets, and review downstream systems for activity originating through the appliance.

How to confirm the fix worked

Confirm the installed Fireware OS version from the appliance management interface or WatchGuard management tooling and verify it is at or above the applicable fixed release: 12.7.2_U1, 12.1.3_U3, 12.5.7_U3, or a later supported version. Perform an external network scan to ensure management services are not exposed to the Internet except from explicitly approved administrative sources. Validate firewall policy and management settings to confirm Web UI, WatchGuard management, SSH, and other administrative services are restricted. Attempt a controlled login with a low-privilege account and verify it cannot obtain administrative capabilities. Review all local and administrative accounts, recent configuration changes, VPN settings, and management access rules. Compare the running configuration against a known-good baseline and confirm logging remains enabled and forwarded to a central log platform.

Typical attack path

  1. Scan the Internet or target ranges for WatchGuard Firebox or XTM management interfaces exposed over management ports such as HTTPS Web UI or WatchGuard management services.
  2. Identify appliances running vulnerable Fireware OS versions or infer vulnerability from exposed services and banners.
  3. Acquire unprivileged appliance credentials through phishing, password reuse, password spraying, leaked credentials, or prior access.
  4. Authenticate to the exposed management interface with the unprivileged account.
  5. Abuse the flaw to obtain a privileged management session.
  6. Perform administrative actions such as changing policies, adding accounts, exporting configuration, modifying VPN settings, or disabling controls.
  7. Use the compromised appliance for persistence, internal access, traffic manipulation, or as an infrastructure foothold.
  8. Attempt to hide activity by changing logs, reducing visibility, or blending activity into normal administrative access.

How to detect it

To determine whether exploitation already occurred, review appliance management, authentication, system, configuration, VPN, and traffic logs from before and after remediation. Focus on successful logins to management services by low-privilege or unusual accounts, especially from unfamiliar external IP addresses, followed by administrative actions. Look for new or modified administrator accounts, changed role assignments, unexpected configuration exports or backups, policy changes, VPN user or tunnel changes, disabled logging, altered management access rules, reboots, firmware changes, or changes to NAT/firewall rules that increase inbound access. Correlate appliance logs with VPN, identity provider, RADIUS/TACACS, SIEM, and network flow data to identify credential abuse and unusual source locations. Investigate any administrative session over Internet-facing management services such as Web UI or WatchGuard management ports, particularly TCP/8080, TCP/4117, and TCP/4118, where exposed. Because the vulnerability enables privilege escalation after authentication, there may not be a single exploit string; detection should emphasize abnormal authenticated management behavior and unauthorized configuration drift. If threat-hunting for in-the-wild exploitation, include searches for activity consistent with botnet or infrastructure-staging behavior: unexpected outbound connections from the firewall, newly permitted management access, repeated connections to uncommon external hosts, and attempts to reduce logging or visibility.

  • tcp/8080
  • tcp/4117
  • tcp/4118
  • Fireware OS 12.7.2
  • Fireware OS 12.7.1
  • Fireware OS 12.5.
  • Fireware OS 12.2.
  • 12.7.2_U1
  • 12.1.3_U3
  • 12.5.7_U3
  • Web UI
  • WatchGuard System Manager
  • Policy Manager
  • configuration export
  • backup image
  • new administrator
  • admin account
  • management access
  • Firebox
  • XTM

What your security team should do

  • Immediately identify all WatchGuard Firebox and XTM appliances and record Fireware OS versions, management exposure, and account configuration.
  • Prioritize remediation for any appliance with Internet-exposed management access or any vulnerable Fireware OS version because this vulnerability is in CISA KEV and exploitation has been observed in the wild.
  • Upgrade to a fixed or latest supported Fireware OS release: 12.7.2_U1 or later, 12.1.3_U3 or later for that branch, or 12.5.7_U3 or later for affected 12.2.x through 12.5.x deployments.
  • Disable public management access and restrict administrative services to VPN, dedicated management networks, or tightly scoped source IP allowlists.
  • Rotate passwords for all appliance accounts, remove unused users, and review privilege assignments for unexpected administrative access.
  • Audit firewall policies, NAT rules, VPN configuration, authentication settings, and logging configuration for unauthorized changes.
  • Search historical logs for suspicious management logins, privilege changes, configuration exports, new accounts, policy modifications, and administrative activity from unfamiliar IP addresses.
  • If suspicious activity is found, preserve evidence, isolate management access, rebuild or reimage the appliance from trusted firmware, restore a known-good configuration, and rotate VPN/shared secrets and administrative credentials.
  • Add continuous monitoring for exposed WatchGuard management ports and alert on new Internet exposure.
  • Document ownership and patch cadence for perimeter security appliances so emergency KEV remediation can be completed within required timelines.

The record

WatchGuard Firebox and XTM appliances allow a remote attacker with unprivileged credentials to access the system with a privileged management session via exposed management access. This vulnerability impacts Fireware OS before 12.7.2_U1, 12.x before 12.1.3_U3, and 12.2.x through 12.5.x before 12.5.7_U3.

Affected packages

Ecosystem Package Introduced Fixed