
Educational implementation in Go for CVE-2024-55591 (Fortinet FortiOS Authentication Bypass). Designed for security research, vulnerability assessment, and understanding WebSocket-based auth bypass mechanisms.
An educational implementation in Go demonstrating the technical mechanics of CVE-2024-55591, an authentication bypass vulnerability affecting Fortinet FortiOS. This repository is intended strictly for security research, defensive analysis, and authorized penetration testing.
This tool is structured around two main phases (Target Validation and Exploitation) that mirror the vulnerability workflow:
/login?redir=/ng and inspects the response body for FortiOS signatures (FortiOS, FortiGate, class="main-app", etc.)./service-worker.js?local_access_token=<token> to verify whether the target endpoint exposes internal application routing (), confirming vulnerability status.api/v2/static/ws/cli/open) using a custom HTTP upgrade request, supplying the required local access token and handling WebSocket handshake framing.auto, 1.0, 1.1, 1.2, 1.3) with insecure certificate verification for testing environments.