CVE-2023-42791 Path traversal in FortiAnalyzer

High 8.6 Published Updated

Attackers can execute unauthorized code or commands via crafted HTTP requests exploiting a relative path traversal vulnerability in FortiManager.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-42791?

CVE-2023-42791 is a high-severity path traversal vulnerability in Fortinet Fortimanager, published on 20 Feb 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A relative path traversal in Fortinet FortiManager version 7.4.0 and 7.2.0 through 7.2.3 and 7.0.0 through 7.0.8 and 6.4.0 through 6.4.12 and 6.2.0 through 6.2.11 allows attacker to execute unauthorized code or commands via crafted HTTP requests.

Weakness: CWE-22, CWE-23

Which versions are affected by CVE-2023-42791?

It affects 1 product.

Products include Fortinet Fortimanager.

How do I fix CVE-2023-42791?

No fix has been published for CVE-2023-42791 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2023-42791 being exploited?

There is no known exploitation of CVE-2023-42791 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

All Fortinet Fortimanager vulnerabilities

Sources

Also known as GHSA-c2qq-2j48-5pr5.

Is CVE-2023-42791 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free