Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1310 CNY

100%

CVE-2024-6592 PoC — WatchGuard Firebox Single Sign-On Agent Protocol Authorization Bypass

Source
Associated Vulnerability
Title:WatchGuard Firebox Single Sign-On Agent Protocol Authorization Bypass (CVE-2024-6592)
Description:Incorrect Authorization vulnerability in the protocol communication between the WatchGuard Authentication Gateway (aka Single Sign-On Agent) on Windows and the WatchGuard Single Sign-On Client on Windows and MacOS allows Authentication Bypass.This issue affects the Authentication Gateway: through 12.10.2; Windows Single Sign-On Client: through 12.7; MacOS Single Sign-On Client: through 12.5.4.
Description
Client Implementation for the WatchGuard SSO Agent Protocol used for Security Research (CVE-2024-6592, CVE-2024-6593, CVE-2024-6594)
Readme
# Proof of Concept for Watchguard SSO Agent Vulnerabilitites (CVE-2024-6592, CVE-2024-6593, CVE-2024-6594)

Details are described in our advisories available at:

 * [CVE-2024-6592](https://www.redteam-pentesting.de/advisories/rt-sa-2024-006)
 * [CVE-2024-6593](https://www.redteam-pentesting.de/advisories/rt-sa-2024-007)
 * [CVE-2024-6594](https://www.redteam-pentesting.de/advisories/rt-sa-2024-008)

The script requires the Python [click](https://click.palletsprojects.com/) library to run.

# Examples
## Issue Arbitrary Commands to SSO Clients

The subcommand `command` can be used to issue commands to the Telnet interface of a Watchguard SSO client. For example, the list of currently logged-in users can be retrieved:

 ```
$ ./wgclient.py command --host 'client.domainname' 'get user a'
 ```


## Retrieve Log files from SSO Clients

The subcommand `logfile` can be used to retrieve log files of an Watchguard SSO client. The log files may also include crash memory dumps (see [CVE-2024-6592](https://www.redteam-pentesting.de/advisories/rt-sa-2024-006) for details).

```
$ ./wgclient.py logfile --host 'client.domainname'
```

## Calculate Authentication Bypass Secret

The subcommand `authbypass` can be used to calculated a secret value to login to the Telnet management interface of an Watchguard SSO agent. To secret is calculated from the banner that the agent sends upon connection, which has to be provided as argument. Details are available in the advisory for [CVE-2024-6593](https://www.redteam-pentesting.de/advisories/rt-sa-2024-007).

```
$ ./wgclient.py authbypass 'EVENT 350 log info Connected to [...]'
```
File Snapshot

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →