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
    • 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-42789

CVE-2023-42789: Fortinet FortiProxy RCE Vulnerability

CVE-2023-42789 is an out-of-bounds write RCE vulnerability in Fortinet FortiProxy that enables attackers to execute unauthorized code via crafted HTTP requests. This article covers technical details, affected versions, and mitigation.

Published: January 28, 2026

CVE-2023-42789 Overview

CVE-2023-42789 is a critical out-of-bounds write vulnerability affecting Fortinet FortiOS and FortiProxy products. This memory corruption flaw exists in the HTTP request handling component, allowing unauthenticated remote attackers to execute unauthorized code or commands by sending specially crafted HTTP requests to vulnerable devices.

Critical Impact

This vulnerability enables remote code execution without authentication on affected Fortinet devices, potentially allowing complete system compromise of network security appliances.

Affected Products

  • Fortinet FortiOS 7.4.0 through 7.4.1
  • Fortinet FortiOS 7.2.0 through 7.2.5, 7.0.0 through 7.0.12, 6.4.0 through 6.4.14, 6.2.0 through 6.2.15
  • Fortinet FortiProxy 7.4.0, 7.2.0 through 7.2.6, 7.0.0 through 7.0.12, 2.0.0 through 2.0.13

Discovery Timeline

  • 2024-03-12 - CVE-2023-42789 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-42789

Vulnerability Analysis

This vulnerability is classified as CWE-787 (Out-of-Bounds Write), a memory corruption issue that occurs when the software writes data past the end or before the beginning of the intended buffer. In the context of Fortinet FortiOS and FortiProxy, the vulnerability manifests in the HTTP request processing functionality.

When an attacker sends a maliciously crafted HTTP request to a vulnerable Fortinet device, the application fails to properly validate input boundaries before writing data to memory. This allows the attacker to overwrite adjacent memory locations, potentially corrupting critical data structures, function pointers, or return addresses. The network-accessible nature of this vulnerability, combined with no authentication requirements, makes it particularly dangerous for internet-facing Fortinet appliances.

Root Cause

The root cause is improper bounds checking in the HTTP request handler within FortiOS and FortiProxy. When processing certain HTTP request parameters, the application allocates a fixed-size buffer but fails to validate that incoming data fits within the allocated space. This allows an attacker to write beyond the buffer's boundaries, leading to memory corruption and potential code execution.

Attack Vector

The attack vector is network-based, requiring no authentication or user interaction. An attacker can exploit this vulnerability by sending specially crafted HTTP requests directly to the management interface or web proxy service of affected Fortinet devices. The vulnerability can be triggered remotely over the network without any prior access to the target system.

The exploitation flow involves crafting HTTP requests with oversized or malformed parameters that trigger the out-of-bounds write condition. Successful exploitation can result in arbitrary code execution with the privileges of the affected service, potentially leading to complete device compromise.

Detection Methods for CVE-2023-42789

Indicators of Compromise

  • Unusual HTTP requests with abnormally large headers or malformed parameters targeting Fortinet management interfaces
  • Unexpected process crashes or restarts of FortiOS web services
  • Anomalous outbound connections from Fortinet devices to unknown external hosts
  • Suspicious modifications to device configurations or firmware

Detection Strategies

  • Deploy network intrusion detection systems (IDS) with signatures for malformed HTTP request patterns targeting Fortinet devices
  • Monitor web application firewall logs for requests with oversized parameters destined for FortiOS/FortiProxy management ports
  • Implement deep packet inspection on traffic to Fortinet management interfaces
  • Review Fortinet device logs for authentication failures followed by unusual system behavior

Monitoring Recommendations

  • Enable verbose logging on FortiOS and FortiProxy management interfaces
  • Configure alerts for HTTP requests exceeding normal size thresholds
  • Monitor system resource utilization for signs of memory corruption or exploitation attempts
  • Establish baseline behavior for Fortinet devices and alert on deviations

How to Mitigate CVE-2023-42789

Immediate Actions Required

  • Upgrade all affected FortiOS and FortiProxy installations to the latest patched versions immediately
  • Restrict access to management interfaces using firewall rules to limit exposure to trusted networks only
  • Disable unnecessary HTTP-based services until patches can be applied
  • Implement network segmentation to isolate Fortinet management interfaces from untrusted networks

Patch Information

Fortinet has released security updates to address this vulnerability. Detailed patch information and fixed versions are available in the FortiGuard Security Advisory FG-IR-23-328. Organizations should upgrade to the following minimum versions:

  • FortiOS: Upgrade to 7.4.2 or later for 7.4.x branch, 7.2.6 or later for 7.2.x branch, 7.0.13 or later for 7.0.x branch
  • FortiProxy: Upgrade to 7.4.1 or later for 7.4.x branch, 7.2.7 or later for 7.2.x branch, 7.0.13 or later for 7.0.x branch

Workarounds

  • Restrict management interface access to trusted internal networks only via firewall rules
  • Implement VPN or jump host requirements for administrative access to Fortinet devices
  • Use access control lists (ACLs) to limit which IP addresses can reach management services
  • Consider disabling web-based management temporarily and using CLI-only administration until patching is complete
bash
# Example FortiOS CLI commands to restrict management access
config system interface
    edit "mgmt"
        set allowaccess ping https ssh
        set trust-ip 10.0.0.0/8
    next
end

# Restrict admin access to specific trusted hosts
config system admin
    edit "admin"
        set trusthost1 10.10.10.0 255.255.255.0
    next
end

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechFortinet Fortiproxy

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability23.64%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-787
  • Vendor Resources
  • FortiGuard Security Advisory
  • Related CVEs
  • CVE-2024-21762: Fortinet FortiProxy RCE Vulnerability

  • CVE-2023-45583: Fortinet FortiProxy RCE Vulnerability

  • CVE-2023-36639: Fortinet FortiProxy RCE Vulnerability

  • CVE-2023-33308: Fortinet FortiProxy RCE Vulnerability
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