SecurityContext

CVE-2022-22299: Fortinet - Command Injection

  • Cve: CVE-2022-22299
  • Name: Fortinet - Command Injection
  • Description: A format string vulnerability [CWE-134] in the command line interpreter of FortiADC version 6.0.0 through 6.0.4, FortiADC version 6.1.0 through 6.1.5, FortiADC version 6.2.0 through 6.2.1, FortiProxy version 1.0.0 through 1.0.7, FortiProxy version 1.1.0 through 1.1.6, FortiProxy version 1.2.0 through 1.2.13, FortiProxy version 2.0.0 through 2.0.7, FortiProxy version 7.0.0 through 7.0.1, FortiOS version 6.0.0 through 6.0.14, FortiOS version 6.2.0 through 6.2.10, FortiOS version 6.4.0 through 6.4.8, FortiOS version 7.0.0 through 7.0.2, FortiMail version 6.4.0 through 6.4.5, FortiMail version 7.0.0 through 7.0.2 may allow an authenticated user to execute unauthorized code or commands via specially crafted command arguments.
  • Impact: Authenticated attackers can execute arbitrary code or commands, potentially leading to full system compromise.
  • Remediation: Update to the latest versions of each affected product, as recommended by Fortinet security advisories.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: logged_in
  • Requirements: Attacker must be authenticated
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00211
  • Epss percentile: 0.11332
  • Assignee: [email protected]
  • Published at: 2022-08-05T20:15:08Z
  • Age in days: 1572
  • Modified at: 2026-06-17T04:28:12Z
  • Patch available: yes
  • References total: 1
  • Products total: 4
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-22299
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-134Use of Externally-Controlled Format String

References

UrlSourceTags
https://fortiguard.com/psirt/FG-IR-21-235nvdPatch, Vendor Advisory

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
fortinet:fortios>= 7.0.0, < 7.0.2; >= 6.4.0, < 6.4.8; >= 6.2.0, <= 6.2.10; >= 6.0.0, <= 6.0.14; >= 5.6.0, <= 5.6.14; >= 5.4.0, <= 5.4.13; >= 5.2.0, <= 5.2.15; >= 5.0.0, <= 5.0.14/v1/products/fortinet/fortios
fortinet:fortiproxy= 7.0.1; = 7.0.0; >= 2.0.0, <= 2.0.7; >= 1.2.0, <= 1.2.13; >= 1.1.0, <= 1.1.6; >= 1.0.0, <= 1.0.7/v1/products/fortinet/fortiproxy
fortinet:fortimail>= 7.0.0, <= 7.0.2; >= 6.4.0, <= 6.4.5/v1/products/fortinet/fortimail
fortinet:fortiadc= 6.2.1; = 6.2.0; >= 6.1.0, <= 6.1.6; >= 6.0.0, <= 6.0.4/v1/products/fortinet/fortiadc

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 368277
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports