The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-42791

CVE-2023-42791: Fortinet FortiManager Path Traversal Flaw

CVE-2023-42791 is a path traversal vulnerability in Fortinet FortiManager that enables attackers to execute unauthorized code via crafted HTTP requests. This article covers technical details, affected versions, and mitigation.

Published: February 11, 2026

CVE-2023-42791 Overview

CVE-2023-42791 is a relative path traversal vulnerability affecting Fortinet FortiManager, a centralized management platform for FortiGate devices. This security flaw allows authenticated attackers to execute unauthorized code or commands by sending crafted HTTP requests to vulnerable FortiManager instances. The vulnerability stems from improper validation of user-supplied input in file path operations, enabling attackers to traverse directories and potentially access or modify sensitive files outside the intended directory structure.

Critical Impact

Successful exploitation of this path traversal vulnerability can lead to unauthorized code execution, potentially compromising the integrity of the entire FortiManager deployment and any managed FortiGate devices within the network infrastructure.

Affected Products

  • Fortinet FortiManager version 7.4.0
  • Fortinet FortiManager versions 7.2.0 through 7.2.3
  • Fortinet FortiManager versions 7.0.0 through 7.0.8
  • Fortinet FortiManager versions 6.4.0 through 6.4.12
  • Fortinet FortiManager versions 6.2.0 through 6.2.11

Discovery Timeline

  • 2024-02-20 - CVE CVE-2023-42791 published to NVD
  • 2024-12-16 - Last updated in NVD database

Technical Details for CVE-2023-42791

Vulnerability Analysis

This vulnerability is classified under CWE-23 (Relative Path Traversal) and CWE-22 (Improper Limitation of a Pathname to a Restricted Directory). The flaw exists in the HTTP request handling mechanism of FortiManager, where user-controlled input used in file path construction is not properly sanitized. Attackers with low-level privileges can leverage this weakness to escape the intended directory boundary and access files or execute commands in arbitrary locations on the filesystem.

The network-based attack vector requires no user interaction, making it particularly dangerous in environments where FortiManager is exposed to untrusted networks. Once exploited, an attacker can achieve high impact across confidentiality, integrity, and availability of the affected system, potentially gaining control over the centralized management infrastructure.

Root Cause

The root cause of CVE-2023-42791 lies in insufficient input validation and sanitization of file path parameters within FortiManager's HTTP request processing logic. When processing certain HTTP requests, the application fails to properly validate or neutralize special path elements such as ../ sequences. This allows an attacker to construct malicious paths that traverse outside the intended directory, bypassing access controls and potentially reaching sensitive system files or executables.

Attack Vector

The attack is carried out over the network by sending specially crafted HTTP requests to the FortiManager web interface. An authenticated attacker with low privileges can manipulate path parameters within these requests to include directory traversal sequences. When the application processes these malicious requests without proper validation, it resolves the path relative to the current working directory, allowing access to files and directories that should be restricted.

The vulnerability can be exploited by manipulating URL parameters or POST data containing path references. By including sequences like ../ or encoded equivalents, attackers can navigate the filesystem hierarchy and potentially read sensitive configuration files, overwrite critical system files, or execute unauthorized commands depending on the context of the vulnerable functionality.

Detection Methods for CVE-2023-42791

Indicators of Compromise

  • Monitor HTTP request logs for suspicious path traversal patterns including ../, ..%2f, %2e%2e/, and similar encoded sequences in URL parameters or POST body
  • Review FortiManager access logs for unusual file access patterns or requests attempting to access files outside standard application directories
  • Check for unexpected modifications to system configuration files or execution of unauthorized commands on FortiManager hosts
  • Analyze network traffic for crafted HTTP requests targeting FortiManager management interfaces from untrusted sources

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect and block path traversal sequences in HTTP requests to FortiManager
  • Enable verbose logging on FortiManager and forward logs to a SIEM for correlation and anomaly detection
  • Deploy network intrusion detection systems (IDS) with signatures for path traversal attacks targeting Fortinet products
  • Conduct regular security assessments and vulnerability scans to identify unpatched FortiManager instances

Monitoring Recommendations

  • Configure alerting for HTTP 400/403/500 error spikes that may indicate reconnaissance or exploitation attempts
  • Monitor filesystem integrity on FortiManager servers using file integrity monitoring (FIM) tools
  • Track authentication events and privilege usage to identify potential abuse of low-privilege accounts for exploitation
  • Review audit trails for any commands executed through FortiManager that deviate from normal administrative operations

How to Mitigate CVE-2023-42791

Immediate Actions Required

  • Apply the latest security patches from Fortinet to all affected FortiManager installations immediately
  • Restrict network access to FortiManager management interfaces to trusted administrative networks only
  • Review and audit user accounts with access to FortiManager, removing unnecessary privileges and disabling unused accounts
  • Enable and monitor detailed logging on FortiManager to detect any exploitation attempts

Patch Information

Fortinet has released security updates to address this vulnerability. Administrators should upgrade FortiManager to patched versions as specified in the Fortiguard Security Advisory. The advisory (FG-IR-23-189) provides detailed information about affected versions and the recommended upgrade paths. Organizations should prioritize patching based on their exposure and the criticality of their FortiManager deployments.

Workarounds

  • Implement strict network segmentation to isolate FortiManager from untrusted networks and limit access to authorized administrative hosts only
  • Deploy a reverse proxy or WAF in front of FortiManager configured to filter path traversal patterns in incoming requests
  • If patching cannot be performed immediately, consider temporarily disabling external access to FortiManager until updates can be applied
  • Enable multi-factor authentication for all FortiManager administrative access to add an additional layer of protection
bash
# Network ACL example to restrict FortiManager access
# Restrict management interface access to trusted admin networks
config system interface
    edit "port1"
        set allowaccess ping https ssh
        set ip 192.168.1.1 255.255.255.0
        set trusted-hosts 10.0.0.0/8 192.168.0.0/16
    next
end

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechFortinet Fortimanager

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability14.37%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-23

  • CWE-22
  • Vendor Resources
  • Fortiguard Security Advisory
  • Related CVEs
  • CVE-2024-48884: Fortinet FortiManager Path Traversal Flaw

  • CVE-2025-48418: Fortinet FortiManager Privilege Escalation

  • CVE-2025-54820: Fortinet FortiManager Buffer Overflow

  • CVE-2025-68482: Fortinet FortiManager Info Disclosure Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English