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
Affected and fixed versions
| Product / branch | Fixed in |
|---|---|
| FortiVoice 7.2.0 | 7.2.1 or later |
| FortiVoice 7.0.0 to 7.0.6 | 7.0.7 or later |
| FortiVoice 6.4.0 to 6.4.10 | 6.4.11 or later |
| FortiMail 7.6.0 to 7.6.2 | 7.6.3 or later |
| FortiMail 7.4.0 to 7.4.4 | 7.4.5 or later |
| FortiMail 7.2.0 to 7.2.7 | 7.2.8 or later |
| FortiMail 7.0.0 to 7.0.8 | 7.0.9 or later |
| FortiNDR 7.6.0 | 7.6.1 or later |
| FortiNDR 7.4.0 to 7.4.7 | 7.4.8 or later |
| FortiNDR 7.2.0 to 7.2.4 | 7.2.5 or later |
| FortiNDR 7.0.0 to 7.0.6 | 7.0.7 or later |
| FortiRecorder 7.2.0 to 7.2.3 | 7.2.4 or later |
| FortiRecorder 7.0.0 to 7.0.5 | 7.0.6 or later |
| FortiRecorder 6.4.0 to 6.4.5 | 6.4.6 or later |
| FortiCamera 2.1.0 to 2.1.3 | 2.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
- 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.
- 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.
- 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 connectionmod_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 includesgeneral to-file ENABLED, treat it as an indicator unless you turned it on yourself. It is off by default. - Modified files:
/data/etc/crontaband/var/spool/cron/crontabs/root(jobs that copy password data fromfcgi.debugto/var/spool/.syncand clear the log every 12 hours),/etc/pam.d/sshd(lines loading the malicious library), and/etc/httpd.conf(aLoadModule socks5_module modules/mod_socks5.soline). - 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
| Indicator | Type | Reported by |
|---|---|---|
| 198.105.127[.]124 | IP | Fortinet |
| 43.228.217[.]173 | IP | Fortinet |
| 43.228.217[.]82 | IP | Fortinet |
| 156.236.76[.]90 | IP | Fortinet |
| 218.187.69[.]244 | IP | Fortinet |
| 218.187.69[.]59 | IP | Fortinet |
| /bin/wpad_ac_helper | File pathMain malware | Fortinet |
| 4410352e110f82eabc0bf160bec41d21 | SHA-256MD5 of /bin/wpad_ac_helper | Fortinet |
| /bin/busybox | File pathAdded by the attacker | Fortinet |
| ebce43017d2cb316ea45e08374de7315 | SHA-256MD5 of /bin/busybox | Fortinet |
| 489821c38f429a21e1ea821f8460e590 | SHA-256MD5 of /bin/busybox (second variant) | Fortinet |
| /lib/libfmlogin.so | File pathLogs usernames and passwords at SSH login | Fortinet |
| 364929c45703a84347064e2d5de45bcd | SHA-256MD5 of /lib/libfmlogin.so | Fortinet |
| /bin/fmtest | File pathNetwork scanning script | Fortinet |
| 2c8834a52faee8d87cff7cd09c4fb946 | SHA-256MD5 of /bin/fmtest | Fortinet |
| /var/spool/.sync | File pathCollected credentials | Fortinet |
| /tmp/.sshdpm | File pathCredentials captured by libfmlogin.so | Fortinet |
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.