CVE-2025-58034 is an authenticated OS command injection vulnerability in Fortinet FortiWeb affecting versions 8.0.0 through 8.0.1, 7.6.0 through 7.6.5, 7.4.0 through 7.4.10, 7.2.0 through 7.2.11, and 7.0.0 through 7.0.11. The flaw results from improper neutralization of special elements used in operating system commands in FortiWeb management functionality exposed through crafted HTTP requests or CLI input. A valid authenticated attacker can supply malicious input that is insufficiently sanitized and cause FortiWeb to execute unauthorized commands on the underlying operating system. The issue has been reported as actively exploited in the wild.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
3 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos (7 hidden).
Repository contains a small Python proof-of-concept exploit and a README describing two FortiWeb vulnerabilities. The actual code in exploit.py targets CVE-2025-64446, not CVE-2025-58034 directly. It parses a target hostname/URL, defaults to HTTPS on port 443, disables TLS certificate verification, and sends a crafted POST request to the traversal path /api/v2.0/cmdb/system/admin%3f/../../../../../cgi-bin/fwbcgi. The request includes a base64-encoded CGIINFO header that impersonates admin context and a JSON body defining a new local administrative account with prof_admin privileges. If the server returns HTTP 200, the script reports success and prints the created username/password; otherwise it reports failure or connection errors. The script supports optional custom credentials via CLI flags, otherwise generates a random 8-character username from a UUID and reuses it as the password. The README provides contextual explanation of both CVEs, affected FortiWeb versions, usage instructions, and a manual post-authentication command injection example for CVE-2025-58034 via SAML user configuration. Overall, this is an operational exploit for unauthenticated admin account creation on vulnerable FortiWeb devices, with the README documenting a second-stage authenticated RCE path.
This repository contains a single Metasploit module (modules/exploits/linux/http/fortinet_fortiweb_rce.rb) targeting Fortinet FortiWeb appliances. The exploit leverages two vulnerabilities: an authentication bypass via path traversal (CVE-2025-64446) and a command injection (CVE-2025-58034). The module first creates a new local administrator account by bypassing authentication, then uses this access to exploit a command injection vulnerability, achieving remote code execution as root. The default payload is a reverse bash shell, but other unix command payloads can be used. The exploit is operational and provides full remote code execution on vulnerable FortiWeb versions. The main network endpoint targeted is the management interface, specifically the '/api/v2.0/cmdb/system/admin%3F/../../../../../cgi-bin/fwbcgi' path, accessed over HTTPS (default port 443). The repository is structured as a single Ruby file compatible with the Metasploit framework.
This repository contains a working exploit for a critical unauthenticated remote code execution (RCE) chain affecting Fortinet FortiWeb appliances. The exploit leverages two vulnerabilities: CVE-2025-64446 (authentication bypass via relative path traversal) and CVE-2025-58034 (authenticated OS command injection). The provided Python script (exploit.py) automates the first stage of the attack by sending a crafted POST request to the vulnerable endpoint (/api/v2.0/cmdb/system/admin%3f/../../../../../cgi-bin/fwbcgi) to create a new administrative user without prior authentication. The script accepts the target IP/hostname and optional username/password for the new admin account. Once the account is created, the attacker can log in and exploit the command injection vulnerability to execute arbitrary commands as root (the second stage is described in the README but not fully automated in the script). The repository also includes a requirements.txt for dependencies and a detailed README.md explaining the vulnerabilities, usage, and impact. The exploit is operational and provides a clear path to full system compromise on affected FortiWeb versions.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
122 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
Fortinet FortiWeb OS command injection vulnerability allowing authenticated attackers to execute commands; exploited in the wild per Fortinet warning.
Fortinet FortiWeb zero-day vulnerability reported as exploited by attackers (details not provided in the content).
A zero-day vulnerability in FortiWeb that was actively exploited in the wild.
A zero-day vulnerability in FortiWeb that was actively exploited before a patch was released.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.