module

WatchGuard XTM Firebox Unauthenticated Remote Command Execution

Disclosed
08/29/2022
Created
03/28/2024

Description

This module exploits a buffer overflow at the administration interface (8080 or 4117) of WatchGuard Firebox
and XTM appliances which is built from a cherrypy python backend sending XML-RPC requests to a C binary
called wgagent using pre-authentication endpoint /agent/login.
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. Successful exploitation results in remote code execution as user nobody.

Authors

h00die-gr3y Charles Fol (Ambionics Security)Dylan Pindur (AssetNote)Misterxid

Platform

Unix

Architectures

cmd

Module Options

To display the available options, load the module within the Metasploit console and run the commands ‘show options’ or ‘show advanced’:

    msf > use exploit/linux/http/watchguard_firebox_unauth_rce_cve_2022_26318
    msf /(8) > show actions
        ...actions...
    msf /(8) > set ACTION < action-name >
    msf /(8) > show options
        ...show and set options...
    msf /(8) > run
  
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.