Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
CriticalCISA KEVExploited in the wildPublic exploit

Unauthenticated RCE in Fortinet FortiVoice, FortiMail, FortiNDR, FortiRecorder, and FortiCamera

IdentifiersCVE-2025-32756CWE-121· Stack-based Buffer Overflow

CVE-2025-32756 is a critical stack-based buffer overflow in multiple Fortinet products, including FortiCamera, FortiMail, FortiNDR, FortiRecorder, and FortiVoice. The flaw is triggered by sending specially crafted HTTP requests containing a malicious hash cookie to the affected administrative/API interface, causing memory corruption on the stack. Public reporting and vendor-linked summaries indicate the issue is in HTTP request processing within an administrative API path, where improper bounds checking allows overwrite of stack memory and can lead to arbitrary code or command execution. Fortinet confirmed the vulnerability was exploited in the wild, with observed activity primarily targeting FortiVoice systems.

Share:
For your environment

Are you exposed to this one?

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.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows a remote unauthenticated attacker to execute arbitrary code or commands on the affected appliance. Reported post-exploitation activity includes network scanning, erasing crash logs, enabling fcgi/FastCGI debugging to capture authentication attempts such as SSH credentials, deploying malware, and adding credential-stealing persistence mechanisms such as cron jobs. Because the affected products are security, communications, monitoring, and recording appliances, compromise can result in full device takeover, credential exposure, operational disruption, and use of the appliance as a pivot point for further intrusion into the environment.

Mitigation

If you can’t patch tonight, do this now.

If immediate patching is not possible, disable or strictly restrict the HTTP/HTTPS administrative interface, especially from the internet. Limit management access to trusted administrative networks or VPN-only paths, apply ACLs/firewall policy to management services, and monitor HTTP logs for malformed or oversized hash cookie values and other anomalous requests. Review systems for Fortinet-reported IOCs, including signs of network scanning, crash-log deletion, and fcgi debugging being enabled. Additional interim hardening such as WAF/filtering in front of exposed management interfaces may reduce exposure, but patching or migration is the required corrective action.

Remediation

Patch, then assume compromise.

Apply Fortinet’s fixed releases for each affected product line. Reported fixed versions include: FortiCamera 2.1.4 or later; FortiMail 7.0.9+, 7.2.8+, 7.4.5+, 7.6.3+; FortiNDR 7.0.7+, 7.2.5+, 7.4.8+, 7.6.1+; FortiRecorder 6.4.6+, 7.0.6+, 7.2.4+; FortiVoice 6.4.11+, 7.0.7+, 7.2.1+. For unsupported branches such as FortiCamera 1.1.x and 2.0.x, migrate to a supported fixed release. After patching, review Fortinet’s advisory FG-IR-25-254 and associated indicators of compromise, inspect for enabled fcgi debugging, unexpected processes, malware, cron entries, and evidence of log tampering.
PUBLIC EXPLOITS

Exploits

4 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos (2 hidden).

VALID 4 / 6 TOTALView more in app
Ashwesker-CVE-2025-32756MaturityPoCVerified exploit

This repository contains a proof-of-concept (PoC) exploit for CVE-2025-32756, a stack-based buffer overflow vulnerability affecting multiple Fortinet products (FortiVoice, FortiMail, FortiNDR, FortiRecorder, FortiCamera) across several versions. The exploit is implemented in a single Python script (CVE-2025-32756.py), which constructs and sends specially crafted HTTP POST requests to the /remote/hostcheck_validate endpoint of a target device. The payload is designed to overflow a stack buffer by abusing the enc parameter, potentially leading to a crash, denial of service, or remote code execution. The script also interacts with the /remote/info endpoint to retrieve a salt value required for payload construction. The repository includes a README.md with detailed vulnerability, usage, and mitigation information, and a requirements.txt listing Python dependencies. The exploit is a PoC and does not include a post-exploitation payload; its primary purpose is to demonstrate the existence of the vulnerability.

AshweskerDisclosed Jun 8, 2025pythonnetwork
cve-2025-32756MaturityPoCVerified exploit

This repository consists of a single configuration file (config.json) that defines the parameters for a remote exploit targeting a service at 180.21.21.21:443 over HTTPS, specifically the /remote/login endpoint. The exploit is designed for an amd64, little-endian target with ASLR and stack canary mitigations disabled, but DEP/NX enabled. The attack uses a ROP chain to execute /bin/sh, opening a bind shell on port 5555. The exploit is delivered via a specially crafted HTTP GET request with the payload in a cookie. Post-exploitation, the exploit can execute commands on the target, such as writing the output of 'id' to /pwned.html. The repository does not contain code, only configuration, and is likely intended to be used with an external exploit framework or script that interprets this configuration.

shan0arDisclosed Jul 23, 2025network
CVE-2025-32756-POCMaturityPoCVerified exploit

This repository provides a Python proof-of-concept (PoC) exploit for CVE-2025-32756, a critical stack-based buffer overflow vulnerability in several Fortinet products (FortiVoice, FortiMail, FortiNDR, FortiRecorder, FortiCamera). The exploit targets the /remote/hostcheck_validate endpoint, abusing improper bounds checking in the processing of the 'enc' parameter. The main script, 'fortinet_cve_2025_32756_poc.py', constructs a specially crafted payload using a salt (retrieved from /remote/info) and a seed, then sends two HTTP POST requests to the vulnerable endpoint to trigger the overflow. The PoC demonstrates the vulnerability but does not deliver a shell or custom code execution payload. The repository also includes a README.md with detailed usage instructions, affected product versions, and mitigation advice, as well as a requirements.txt listing Python dependencies. The exploit is unauthenticated and works over HTTPS, making it a remote, network-based attack. The code is structured for clarity and research purposes, with debug options and clear separation of payload construction and delivery logic.

alm6no5Disclosed Jun 9, 2025pythonnetwork
CVE-2025-32756-POCMaturityPoCVerified exploit

This repository provides a Python proof-of-concept (PoC) exploit for CVE-2025-32756, a critical unauthenticated stack-based buffer overflow vulnerability in several Fortinet products (FortiVoice, FortiMail, FortiNDR, FortiRecorder, FortiCamera). The main exploit script, 'fortinet_cve_2025_32756_poc.py', allows users to scan for vulnerable devices and attempt exploitation by sending a specially crafted HTTP POST request to the '/remote/hostcheck_validate' endpoint with a malformed 'enc' parameter. The script demonstrates the vulnerability by triggering the overflow and modifying a single byte in memory, but does not execute arbitrary code or provide shell access. The repository also includes a README with detailed usage instructions and mitigation advice, a requirements.txt for dependencies, and a .gitignore. The exploit is network-based, targeting HTTPS services on the affected Fortinet devices. The code is structured to support both single-target exploitation and multi-target scanning, with options for IP ranges and output to CSV. This PoC is intended for research and educational purposes only and does not weaponize the vulnerability.

kn0x0xDisclosed Jun 5, 2025pythonnetwork
EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
FortinetForticameraapplication
FortinetForticamera Firmwareoperating_system
FortinetFortimailapplication
FortinetFortindrapplication
FortinetFortirecorderapplication
FortinetFortivoiceapplication

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware1

Malware families riding this exploit, with evidence and IOCs.

Detection signatures1

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity86

Community discussion across Reddit, Mastodon, and other social sources.