Path traversal in FortiManager and FortiAnalyzer - CVE-2023-42791

 

Path traversal in FortiManager and FortiAnalyzer - CVE-2023-42791

Published: October 12, 2023 / Updated: February 21, 2025


Vulnerability identifier: #VU81957
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-42791
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences. A remote user can send a specially crafted HTTP request and read arbitrary files on the system, leading to arbitrary code execution.


Affected software

FortiManager
FortiAnalyzer

How to mitigate CVE-2023-42791

Install update from vendor's website.

FortiManager - addressed in versions 6.2.12, 6.4.13, 7.0.9, 7.2.4, 7.4.1
FortiAnalyzer - addressed in versions 6.2.12, 6.4.13, 7.0.9, 7.2.4, 7.4.1

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins