FortiOS/Proxy SSL-VPN Heap Buffer Overflow RCE (7.2.4)
CVE-2023-27997 Published on June 13, 2023
A heap-based buffer overflow vulnerability [CWE-122] in FortiOS version 7.2.4 and below, version 7.0.11 and below, version 6.4.12 and below, version 6.0.16 and below and FortiProxy version 7.2.3 and below, version 7.0.9 and below, version 2.0.12 and below, version 1.2 all versions, version 1.1 all versions SSL-VPN may allow a remote attacker to execute arbitrary code or commands via specifically crafted requests.
Known Exploited Vulnerability
This Fortinet FortiOS and FortiProxy SSL-VPN Heap-Based Buffer Overflow Vulnerability is part of CISA's list of Known Exploited Vulnerabilities. Fortinet FortiOS and FortiProxy SSL-VPN contain a heap-based buffer overflow vulnerability which can allow an unauthenticated, remote attacker to execute code or commands via specifically crafted requests.
The following remediation steps are recommended / required by July 4, 2023: Apply updates per vendor instructions.
Vulnerability Analysis
CVE-2023-27997 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. This vulnerability is known to be actively exploited by threat actors in an automatable fashion. The potential impact of an exploit of this vulnerability is considered to be critical as this vulnerability has a high impact to the confidentiality, integrity and availability of this component.
Weakness Type
Heap-based Buffer Overflow
A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
Products Associated with CVE-2023-27997
Want to know whenever a new CVE is published for Fortinet products? stack.watch will email you.
Affected Versions
Fortinet FortiOS-6K7K:- Version 7.0.10 is affected.
- Version 7.0.5 is affected.
- Version 6.4.12 is affected.
- Version 6.4.10 is affected.
- Version 6.4.8 is affected.
- Version 6.4.6 is affected.
- Version 6.4.2 is affected.
- Version 6.2.9, <= 6.2.13 is affected.
- Version 6.2.6, <= 6.2.7 is affected.
- Version 6.2.4 is affected.
- Version 6.0.12, <= 6.0.16 is affected.
- Version 6.0.10 is affected.
- Version 7.2.0, <= 7.2.3 is affected.
- Version 7.0.0, <= 7.0.9 is affected.
- Version 2.0.0, <= 2.0.12 is affected.
- Version 1.2.0, <= 1.2.13 is affected.
- Version 1.1.0, <= 1.1.6 is affected.
- Version 7.2.0, <= 7.2.4 is affected.
- Version 7.0.0, <= 7.0.11 is affected.
- Version 6.4.0, <= 6.4.12 is affected.
- Version 6.2.0, <= 6.2.13 is affected.
- Version 6.0.0, <= 6.0.16 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.