Heap-based buffer overflow in Fortinet, Inc products - CVE-2023-27997
Published: June 13, 2023 / Updated: November 15, 2024
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the SSL-VPN feature. A remote non-authenticated attacker can send specially crafted requests to the SSL-VPN interface, trigger a heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Note, the vulnerability is being actively exploited in the wild.
Affected software
RUGGEDCOM APE1808
FortiOS
FortiOS-6K7K
How to mitigate CVE-2023-27997
FortiOS - addressed in versions 6.0.17, 6.2.14, 6.2.15, 6.4.13, 7.0.12, 7.2.5
FortiOS-6K7K - addressed in versions 6.0.17, 6.2.15, 6.4.13, 7.0.12
Links to Public Exploits and PoC-codes
- Exploit #10874 - CVE-2023-27997-POC (Fortigate SSL VPN buffer overflow exploit) (November 15, 2024)
- Exploit #9939 - xortigate-cve-2023-27997 (xortigate-cve-2023-27997) (June 7, 2024)
- Exploit #9595 - CVE-2023-27997-POC (POC FortiOS SSL-VPN buffer overflow vulnerability) (March 4, 2024)
- Exploit #9162 - cve-2023-27997 () (June 27, 2023)
- Exploit #9134 - CVE-2023-27997-check (Safely detect whether a FortiGate SSL VPN instance is vulnerable to CVE-2023-27997 based on response timing) (June 26, 2023)