Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2023-46718: Execute unauthorized code or commands in Fortinet FortiOS

0
Medium
VulnerabilityCVE-2023-46718cvecve-2023-46718
Published: Tue Oct 14 2025 (10/14/2025, 15:23:02 UTC)
Source: CVE Database V5
Vendor/Project: Fortinet
Product: FortiOS

Description

A stack-based buffer overflow in Fortinet FortiOS version 7.4.0 through 7.4.1 and 7.2.0 through 7.2.7 and 7.0.0 through 7.0.12 and 6.4.6 through 6.4.15 and 6.2.9 through 6.2.16 and 6.0.13 through 6.0.18 allows attacker to execute unauthorized code or commands via specially crafted CLI commands.

AI-Powered Analysis

AILast updated: 10/31/2025, 05:18:10 UTC

Technical Analysis

CVE-2023-46718 is a stack-based buffer overflow vulnerability identified in Fortinet FortiOS, affecting versions 6.0.13 through 7.4.1. This vulnerability arises from improper handling of input in the command-line interface (CLI), allowing an attacker with high-level privileges to send specially crafted commands that overflow the stack buffer. This overflow can lead to arbitrary code execution or command injection, compromising the device's confidentiality, integrity, and availability. The vulnerability requires the attacker to have local access with elevated privileges (PR:H), and no user interaction is necessary (UI:N). The attack vector is local (AV:L), meaning remote exploitation is not straightforward without prior access. The vulnerability impacts multiple major FortiOS versions, which are widely deployed in enterprise and service provider environments for firewall, VPN, and network security functions. Although no known exploits are currently reported in the wild, the potential for exploitation exists given the critical nature of the flaw and the broad deployment of affected versions. The CVSS v3.1 score is 6.3, reflecting medium severity, with high impact on confidentiality, integrity, and availability. The vulnerability is particularly concerning because successful exploitation could allow attackers to execute unauthorized commands, potentially leading to full device compromise and lateral movement within networks.

Potential Impact

For European organizations, the exploitation of CVE-2023-46718 could have severe consequences. FortiOS devices are commonly used in enterprise networks, telecommunications, and critical infrastructure sectors across Europe. Unauthorized code execution on these devices could lead to data breaches, disruption of network security controls, and potential denial of service. This could compromise sensitive information, disrupt business operations, and undermine trust in network security. The impact is heightened in sectors such as finance, energy, healthcare, and government, where Fortinet devices often form a key part of the security perimeter. Additionally, the requirement for high privileges limits the attack surface but does not eliminate risk, especially if internal threat actors or attackers who have gained elevated access exploit this vulnerability. The absence of known exploits in the wild currently reduces immediate risk but does not preclude future exploitation attempts. European organizations must consider the potential for targeted attacks leveraging this vulnerability, especially in the context of increasing cyber threats targeting critical infrastructure.

Mitigation Recommendations

1. Apply official patches from Fortinet as soon as they become available for all affected FortiOS versions. 2. Restrict CLI access strictly to trusted administrators and use multi-factor authentication to reduce the risk of privilege escalation. 3. Implement network segmentation to limit access to FortiOS management interfaces, ensuring they are not exposed to untrusted networks. 4. Monitor logs and system behavior for unusual CLI command activity or signs of exploitation attempts. 5. Conduct regular security audits and vulnerability assessments on FortiOS devices to identify and remediate misconfigurations. 6. Employ strict access control policies and least privilege principles for all users with administrative access to FortiOS devices. 7. Consider deploying intrusion detection/prevention systems (IDS/IPS) that can detect anomalous CLI command patterns. 8. Maintain an incident response plan that includes procedures for FortiOS device compromise scenarios. These measures go beyond generic advice by focusing on access control hardening, monitoring, and proactive patch management tailored to the nature of this vulnerability.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
fortinet
Date Reserved
2023-10-25T08:43:15.290Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 68ee702b75ce224a0426b53b

Added to database: 10/14/2025, 3:45:47 PM

Last enriched: 10/31/2025, 5:18:10 AM

Last updated: 12/4/2025, 8:20:24 PM

Views: 179

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats