FortiVoice, FortiMail, FortiNDR, FortiRecorder and FortiCamera

CVE-2025-32756: Fortinet appliance admin portal overflow, exploited as a zero-day

A stack overflow in the HTTP API of five Fortinet appliances gives an unauthenticated attacker code execution through a crafted cookie. Fortinet saw it exploited on FortiVoice before the fix, and a public proof of concept exists.

Published Updated Fortinet advisory FG-IR-25-254

ExploitedYes, in CISA KEVAdded 14 May 2025
Ransomware useNot reportedPer CISA
SeverityCRITICALCVSS 3.1 9.6
EPSS31%Chance of exploitation in 30 days
Public exploitYes
FixAvailable

Affected and fixed versions

Product / branchFixed in
FortiVoice 7.2.07.2.1 or later
FortiVoice 7.0.0 to 7.0.67.0.7 or later
FortiVoice 6.4.0 to 6.4.106.4.11 or later
FortiMail 7.6.0 to 7.6.27.6.3 or later
FortiMail 7.4.0 to 7.4.47.4.5 or later
FortiMail 7.2.0 to 7.2.77.2.8 or later
FortiMail 7.0.0 to 7.0.87.0.9 or later
FortiNDR 7.6.07.6.1 or later
FortiNDR 7.4.0 to 7.4.77.4.8 or later
FortiNDR 7.2.0 to 7.2.47.2.5 or later
FortiNDR 7.0.0 to 7.0.67.0.7 or later
FortiRecorder 7.2.0 to 7.2.37.2.4 or later
FortiRecorder 7.0.0 to 7.0.57.0.6 or later
FortiRecorder 6.4.0 to 6.4.56.4.6 or later
FortiCamera 2.1.0 to 2.1.32.1.4 or later
FortiCamera 2.0 and 1.1 (all versions)No fix. Migrate to a fixed release

Always confirm against the vendor advisory, which lists every fixed hotfix.

What it is

A stack-based buffer overflow in the HTTP API of FortiVoice, FortiMail, FortiNDR, FortiRecorder and FortiCamera. An unauthenticated attacker sends a crafted request to the portal or admin interface and runs code or commands on the appliance. Fortinet rates it critical (CVSS 9.8).

Fortinet’s advisory says it was exploited in the wild on FortiVoice before the fix. The two public write-ups we opened, Centripetal and the proof of concept’s README, place the bug in the enc parameter of the AuthHash cookie, at /remote/hostcheck_validate. Fortinet’s advisory doesn’t name the endpoint.

A public proof of concept exists. Its README says it detects vulnerable devices and triggers the overflow, and does not execute code. It still makes scanning easy.

Am I affected?

You’re affected if you run one of these and it is older than the fixed version:

  • FortiVoice 7.2.0, 7.0.0 to 7.0.6, or 6.4.0 to 6.4.10
  • FortiMail 7.6.0 to 7.6.2, 7.4.0 to 7.4.4, 7.2.0 to 7.2.7, or 7.0.0 to 7.0.8
  • FortiNDR 7.6.0, 7.4.0 to 7.4.7, 7.2.0 to 7.2.4, or 7.0.0 to 7.0.6
  • FortiRecorder 7.2.0 to 7.2.3, 7.0.0 to 7.0.5, or 6.4.0 to 6.4.5
  • FortiCamera 2.1.0 to 2.1.3, plus all of 2.0 and 1.1

The attack goes through the HTTP/HTTPS portal and admin interfaces, so any appliance that exposes them to untrusted networks is at risk. Fortinet doesn’t state other preconditions. FortiOS firewalls aren’t listed.

What to do

  1. Upgrade to FortiVoice 7.2.1, 7.0.7 or 6.4.11; FortiMail 7.6.3, 7.4.5, 7.2.8 or 7.0.9; FortiNDR 7.6.1, 7.4.8, 7.2.5 or 7.0.7; FortiRecorder 7.2.4, 7.0.6 or 6.4.6; FortiCamera 2.1.4; or later. FortiCamera 2.0 and 1.1 have no fix, so migrate to a fixed release.
  2. Workaround if you can’t patch tonight: Fortinet says to disable the HTTP/HTTPS administrative and portal interfaces. Its advisory gives no menu path or command. Expect to lose web management and any web portal until you patch.
  3. If an appliance was reachable and unpatched, treat it as possibly compromised. Check it (see below). If you find signs of compromise, isolate it and rebuild it on fixed firmware, and rotate every credential that logged in through the web or SSH, because the malware captured them. Hunt for activity from the appliance toward your internal network.

Detection

Fortinet’s advisory lists these indicators:

  • Crash log entries from diagnose debug application httpd display trace-log:
    • mod_fcgid: error reading data, FastCGI server closed connection
    • mod_fcgid: process /migadmin/www/fcgi/admin.fe(1741) exit(communication error), get unexpected signal 11
  • fcgi debugging switched on. Run diag debug application fcgi. If the output includes general to-file ENABLED, treat it as an indicator unless you turned it on yourself. It is off by default.
  • Modified files: /data/etc/crontab and /var/spool/cron/crontabs/root (jobs that copy password data from fcgi.debug to /var/spool/.sync and clear the log every 12 hours), /etc/pam.d/sshd (lines loading the malicious library), and /etc/httpd.conf (a LoadModule socks5_module modules/mod_socks5.so line).
  • Added files and hashes listed in the indicators section.
  • Traffic from or to the attacker addresses listed above.

Fortinet says the attackers scanned the device’s network, erased crash logs and enabled fcgi debugging to capture credentials. Missing crash logs are suspicious on their own.

Indicators of compromise

Fortinet's list also includes modified files (/data/etc/crontab, /var/spool/cron/crontabs/root, /etc/pam.d/sshd, /etc/httpd.conf with a mod_socks5 LoadModule line) and two log lines, covered under Detection. Fortinet saw activity on FortiVoice only; the indicators may not apply to the other products.

The .txt list has one IP per line and a fixed address, so a firewall can pull it as an External Dynamic List: https://patchtonight.com/iocs/CVE-2025-32756.txt

IndicatorTypeReported by
198.105.127[.]124IPFortinet
43.228.217[.]173IPFortinet
43.228.217[.]82IPFortinet
156.236.76[.]90IPFortinet
218.187.69[.]244IPFortinet
218.187.69[.]59IPFortinet
/bin/wpad_ac_helperFile pathMain malwareFortinet
4410352e110f82eabc0bf160bec41d21SHA-256MD5 of /bin/wpad_ac_helperFortinet
/bin/busyboxFile pathAdded by the attackerFortinet
ebce43017d2cb316ea45e08374de7315SHA-256MD5 of /bin/busyboxFortinet
489821c38f429a21e1ea821f8460e590SHA-256MD5 of /bin/busybox (second variant)Fortinet
/lib/libfmlogin.soFile pathLogs usernames and passwords at SSH loginFortinet
364929c45703a84347064e2d5de45bcdSHA-256MD5 of /lib/libfmlogin.soFortinet
/bin/fmtestFile pathNetwork scanning scriptFortinet
2c8834a52faee8d87cff7cd09c4fb946SHA-256MD5 of /bin/fmtestFortinet
/var/spool/.syncFile pathCollected credentialsFortinet
/tmp/.sshdpmFile pathCredentials captured by libfmlogin.soFortinet

Sources

Spotted a mistake on this page? Tell us, and we'll fix it.

Page changelog

  • Full analysis published.

KEV status, EPSS score and vendor data refreshed automatically, last on 24 Nov 2026.

Get alerts

A notification when we publish a new analysis or a covered vendor gets a new actively exploited CVE. No account, no email.

Tell us what you think

What do you rely on here, what's missing, which vendor should we add? Every message is read by the editor.

Write to us

contact-us@patchtonight.com