Heap-based buffer overflow in Fortinet, Inc products - CVE-2023-27997

 

Heap-based buffer overflow in Fortinet, Inc products - CVE-2023-27997

Published: June 13, 2023 / Updated: November 15, 2024


Vulnerability identifier: #VU77175
CSH Severity: Critical
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-27997
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild

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

FortiProxy
RUGGEDCOM APE1808
FortiOS
FortiOS-6K7K

How to mitigate CVE-2023-27997

Install updates from vendor's website.

FortiProxy - addressed in versions 2.0.13, 7.0.10, 7.2.4
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

External References

Related Security Bulletins