#VU87498 Stack-based buffer overflow in FortiOS and FortiProxy


Published: 2024-03-13

Vulnerability identifier: #VU87498

Vulnerability risk: High

CVSSv3.1: 8.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-42790

CWE-ID: CWE-121

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
FortiOS
Operating systems & Components / Operating system
FortiProxy
Hardware solutions / Routers & switches, VoIP, GSM, etc

Vendor: Fortinet, Inc

Description

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.

Mitigation
Install update from vendor's website.

Vulnerable software versions

FortiOS: 7.4.0 - 7.4.1, 6.4.11 - 6.4.14, 7.0.7 - 7.0.12, 6.2.12 - 6.2.15, 7.2.2 - 7.2.5

FortiProxy: 7.4.0, 7.0.5 - 7.0.12, 7.2.0 - 7.2.6, 2.0.10 - 2.0.13


External links
http://fortiguard.com/psirt/FG-IR-23-327


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability