CVE-2022-42476 Path traversal in FortiOS

High 7.8 Published Updated

Privileged VDOM administrators can escalate to super admin privileges via crafted CLI requests exploiting a relative path traversal vulnerability.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-42476?

CVE-2022-42476 is a high-severity path traversal vulnerability in Fortinet Fortios, published on 7 Mar 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A relative path traversal vulnerability [CWE-23] vulnerability in Fortinet FortiOS 7.2.0 through 7.2.3, FortiOS 7.0.0 through 7.0.8, FortiOS 6.4.0 through 6.4.11, FortiOS 6.2.0 through 6.2.12, FortiProxy 7.2.0 through 7.2.1, FortiProxy 7.0.0 through 7.0.7, FortiProxy 2.0.0 through 2.0.11, FortiProxy 1.2 all versions, FortiProxy 01.02 all versions, FortiProxy 1.1 all versions, FortiProxy 01.01 all versions allows privileged VDOM administrators to escalate their privileges to super admin of the box via crafted CLI requests.

Weakness: CWE-22, CWE-23

Which versions are affected by CVE-2022-42476?

It affects 2 products.

Products include Fortinet Fortios, Fortinet Fortiproxy.

How do I fix CVE-2022-42476?

No fix has been published for CVE-2022-42476 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-2022-42476 being exploited?

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

All Fortinet Fortios vulnerabilities

Sources

Also known as GHSA-w4p8-qcm4-827w.

Is CVE-2022-42476 in your software?

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

Check your SBOMs for free