CVE DatabaseCVE-2022-41328
한국어 권고문 →
CVE-2022-413287.1/HIGHCISA KEVCWE-22CWE-22

Fortinet FortiOS Path Traversal Vulnerability Analysis and Mitigation Guide (CVE-2022-41328)

⚡ Jump to Patch
Affected Vendors
fortinet
Affected Components
fortios
Published Date
2023-03-07
CVSS v3.1
7.1
HIGH
EPSS (30d)
10.7%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Fortinet FortiOS versions 7.2.0 through 7.2.3, 7.0.0 through 7.0.9, and prior to 6.4.11

Impact

A privileged attacker can read and write arbitrary files on the underlying Linux system via crafted CLI commands, potentially leading to firmware tampering and persistent backdoor installation

Mitigation

Immediately upgrade to the official patched versions (7.2.4, 7.0.10, 6.4.11 or higher)

Affected Products & Version Scope

FortiOS 7.2.0 to 7.2.3, FortiOS 7.0.0 to 7.0.9, and FortiOS 6.4.0 to 6.4.10 (prior to 6.4.11)

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

The primary remediation is upgrading FortiOS to a patched release (7.2.4, 7.0.10, 6.4.11, or later). Use the following CLI commands to verify the version and perform a secure TFTP upgrade:

bash
# Check current FortiOS version
get system status

# Restore/Upgrade firmware image via secure TFTP server
execute restore image tftp FGT_60F-v7.2.4-build1396-FORTINET.out 192.168.1.99

2. Temporary Workaround & Hardening Configuration

If immediate patching is not feasible, restrict administrative access to the CLI by configuring Trusted Hosts, ensuring only authorized IP addresses can access management interfaces (HTTPS/SSH).

bash
# Restricting administrator access using Trusted Hosts
config system admin
    edit 'admin'
        set trusthost1 10.10.10.0 255.255.255.0
        set trusthost2 192.168.10.50 255.255.255.255
    next
end

3. Log Audit & IoC Verification Commands

Run system integrity checks and audit CLI command logs to detect potential exploitation attempts or unauthorized file modifications.

bash
# Run system file integrity check
diagnose sys integrity control

# Filter and display system event logs for suspicious CLI activities
show log syslog filter
execute log filter category event
execute log filter field subtype system
execute log display
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
NordLayer / Zero-Trust Network Access
As this vulnerability is listed in CISA's KEV catalog, immediately upgrade FortiOS to a secure version (7.2.4 / 7.0.10 / 6.4.11 or higher) and enforce strict Trusted Hosts policies.

Stop Exposing VPN Ports to the Internet — Switch to Zero-Trust Access

Eliminate public-facing VPN concentrators and firewall management ports with identity-first Zero-Trust Network Access.

90% Attack Surface Reduction · Hardware-Free

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability (CVE-2022-41328) is an improper limitation of a pathname to a restricted directory ('path traversal', CWE-22) within the CLI engine of Fortinet FortiOS. The root cause lies in the insufficient validation of file paths supplied to certain CLI commands. This flaw allows an authenticated, privileged attacker to bypass directory restrictions and access the underlying Linux operating system's file system.

2. Exploitation Mechanics & Attack Scenario

To exploit this vulnerability, an attacker must first obtain administrative privileges on the FortiOS device (e.g., via credential stuffing, compromised accounts, or other vulnerabilities). Once CLI access is established, the attacker executes specific file-handling commands containing directory traversal sequences (such as '../') or absolute paths. This enables the attacker to read sensitive configuration files or overwrite critical system binaries and startup scripts, establishing persistent, unauthorized access that survives device reboots.

3. Infrastructure & Business Impact

As FortiOS devices typically serve as critical perimeter firewalls and VPN gateways, compromise of these systems poses an extreme risk to the entire corporate network. This vulnerability is actively exploited in the wild and is listed in the CISA KEV catalog. Successful exploitation allows threat actors to establish a persistent foothold, intercept network traffic, compromise VPN sessions, and facilitate lateral movement into the internal network.

Official Vendor Advisories & References

NVD Original English Description

A improper limitation of a pathname to a restricted directory vulnerability ('path traversal') [CWE-22] in Fortinet FortiOS version 7.2.0 through 7.2.3, 7.0.0 through 7.0.9 and before 6.4.11 allows a privileged attacker to read and write files on the underlying Linux system via crafted CLI commands.

Frequently Asked SecOps Questions (CVE-2022-41328)

FAQ

Q1. How critical is CVE-2022-41328 and is it actively exploited in the wild?

CVE-2022-41328 is rated CVSS 7.1 (HIGH) with a 30-day EPSS exploitation probability of 10.7%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2022-41328?

Primary impacted vendors include fortinet across fortios. Scope summary: FortiOS 7.2.0 to 7.2.3, FortiOS 7.0.0 to 7.0.9, and FortiOS 6.4.0 to 6.4.10 (prior to 6.4.11)

Q3. What temporary mitigations or workarounds exist for CVE-2022-41328 before patching?

[Mitigation] Immediately upgrade to the official patched versions (7.2.4, 7.0.10, 6.4.11 or higher) Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2022-41328

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (fortinet)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2022-41328 Fortinet FortiOS Path Traversal Vulnerability Analysis and Mitigation Guide (CVE-2022-41328) (CVSS 7.1) - Patch & Workaround | CVE Pulse