Stack-based buffer overflow in FortiProxy and FortiOS - CVE-2023-42790

 

Stack-based buffer overflow in FortiProxy and FortiOS - CVE-2023-42790

Published: March 13, 2024


Vulnerability identifier: #VU87498
CSH Severity: High
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-42790
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when processing specially crafted HTTP requests in captive portal. A remote unauthenticated attacker can trigger a stack-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

FortiProxy
FortiOS

How to mitigate CVE-2023-42790

Install update from vendor's website.

FortiProxy - addressed in versions 2.0.14, 7.0.13, 7.2.7, 7.4.1
FortiOS - addressed in versions 6.2.16, 6.4.15, 7.0.13, 7.2.6, 7.4.2

External References

Related Security Bulletins