cve.bz

CVE-2022-40679 fortinet: OS Command Injection

7.8 highEPSS 0.2%

High (7.8) in fortinet. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 15th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-10-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-40679 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-40679?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-40679?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-40679 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Fortinet FortiDDoSfrom 5.6.0 through 5.6.1
Fortinet FortiDDoSfrom 5.5.0 through 5.5.1
Fortinet FortiDDoSfrom 5.4.0 through 5.4.2
Fortinet FortiDDoSfrom 5.3.0 through 5.3.1
Fortinet FortiDDoS5.2.0
Fortinet FortiDDoS5.1.0
Fortinet FortiDDoS5.0.0
Fortinet FortiDDoS4.7.0
Fortinet FortiDDoS4.6.0
Fortinet FortiDDoS4.5.0
Fortinet FortiDDoSfrom 4.4.0 through 4.4.2
Fortinet FortiDDoSfrom 4.3.0 through 4.3.2
Fortinet FortiDDoSfrom 4.2.1 through 4.2.2
Fortinet FortiDDoSfrom 4.1.1 through 4.1.12
Fortinet FortiDDoSfrom 4.0.0 through 4.0.1
Fortinet FortiDDoS-F6.4.0
Fortinet FortiDDoS-Ffrom 6.3.0 through 6.3.3
Fortinet FortiDDoS-Ffrom 6.2.0 through 6.2.2
Fortinet FortiDDoS-Ffrom 6.1.0 through 6.1.4
Fortinet FortiADC7.1.0
Fortinet FortiADCfrom 7.0.0 through 7.0.3
Fortinet FortiADCfrom 6.2.0 through 6.2.4
Fortinet FortiADCfrom 6.1.0 through 6.1.6
Fortinet FortiADCfrom 6.0.0 through 6.0.4
Fortinet FortiADCfrom 5.4.0 through 5.4.5
Fortinet FortiADCfrom 5.3.0 through 5.3.7
Fortinet FortiADCfrom 5.2.0 through 5.2.8
Fortinet FortiADCfrom 5.1.0 through 5.1.7
Fortinet FortiADCfrom 5.0.0 through 5.0.4

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON