LiveActive security incident?Get immediate response
CVE Record

CVE-2021-44171: A improper neutralization of special elements used in an os command ('os command injection') in Fortinet Fo...

A improper neutralization of special elements used in an os command ('os command injection') in Fortinet 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.3 allows attacker to execute privileged commands on a linked FortiSwitch via diagnostic CLI commands.

CriticalCVSS 9Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

This Fortinet FortiOS flaw can let a logged-in attacker on an adjacent network run privileged commands on a linked FortiSwitch through diagnostic CLI functionality. For organizations using FortiGate-managed FortiSwitch environments, it creates risk of network infrastructure compromise, not just appliance misconfiguration.

Executive priority

Prioritize remediation where affected FortiOS devices manage switching infrastructure. The business risk is control-plane compromise of network equipment, with potential confidentiality, integrity, and availability impact across connected environments.

Technical view

CVE-2021-44171 is OS command injection in Fortinet FortiOS 6.0.0-6.0.14, 6.2.0-6.2.10, 6.4.0-6.4.8, and 7.0.0-7.0.3. The CVSS vector indicates adjacent-network access, low complexity, low privileges, no user interaction, changed scope, and high confidentiality, integrity, and availability impact.

Likely exposure

Exposure is most likely where affected FortiOS versions manage or link to FortiSwitch devices and diagnostic CLI capabilities are reachable by lower-privileged authenticated users on adjacent networks.

Exploitation context

The provided sources do not show CISA KEV listing or active exploitation. The CVSS vector includes functional exploit maturity, but that alone is not evidence of active attacks. Treat this as high-priority due to privileged command execution against network infrastructure.

Researcher notes

Do not assume internet-exposed unauthenticated exploitation from the provided data. The documented prerequisites are adjacent network access and low privileges. Key validation points are affected FortiOS versions, linked FortiSwitch usage, diagnostic CLI authorization, and Fortinet’s advisory for exact remediation guidance.

Mitigation direction

  • Identify FortiOS appliances running the listed affected versions.
  • Check Fortinet FG-IR-21-242 for supported fixed versions or official workarounds.
  • Restrict diagnostic CLI access to trusted administrative users only.
  • Limit adjacent-network access to FortiGate management surfaces.
  • Review FortiSwitch management links for unnecessary exposure.

Validation and detection

  • Inventory FortiOS versions across FortiGate devices.
  • Confirm whether FortiSwitch devices are linked or managed through affected FortiOS instances.
  • Review administrative roles with access to diagnostic CLI functions.
  • Check logs for unusual diagnostic CLI activity or FortiSwitch command execution.
  • Verify remediation against Fortinet advisory FG-IR-21-242.
Prepared
Confidence
medium
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-44171 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
9 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/E:F/RL:X/RC:C

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
9CVSS 3.1CriticalCVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/E:F/RL:X/RC:C2.36Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

9Critical
CVSS 3.1 vector shape for CVE-2021-44171Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/E:F/RL:X/RC:C

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
FortinetFortinet FortiOSFortiOS 7.0.3, 7.0.2, 7.0.1, 7.0.0, 6.4.8, 6.4.7, 6.4.6, 6.4.5, 6.4.4, 6.4.3, 6.4.2, 6.4.1, 6.4.0, 6.2.10, 6.2.9, 6.2.8, 6.2.7, 6.2.6, 6.2.5, 6.2.4, 6.2.3, 6.2.2, 6.2.1, 6.2.0, 6.0.14, 6.0.13, 6.0.12, 6.0.11, 6.0.10, 6.0.9, 6.0.8, 6.0.7, 6.0.6, 6.0.5, 6.0.4, 6.0.3, 6.0.2, 6.0.1, 6.0.0Listed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.