CVE-2022-42474 Path traversal in FortiOS

Medium 6.2 Published Updated

Privileged attackers can delete arbitrary directories on Fortinet devices via crafted HTTP requests exploiting relative path traversal.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-42474?

CVE-2022-42474 is a medium-severity path traversal vulnerability in Fortinet Fortios, published on 13 Jun 2023. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A relative path traversal vulnerability [CWE-23] in Fortinet FortiOS version 7.2.0 through 7.2.3, version 7.0.0 through 7.0.9 and before 6.4.12, FortiProxy version 7.2.0 through 7.2.1 and 7.0.0 through 7.0.7, FortiSwitchManager version 7.2.0 through 7.2.1 and before 7.0.1 allows an privileged attacker to delete arbitrary directories from the filesystem through crafted HTTP requests.

Weakness: CWE-22, CWE-23

Which versions are affected by CVE-2022-42474?

It affects 3 products.

Products include Fortinet Fortios, Fortinet Fortiproxy, Fortinet Fortiswitchmanager.

How do I fix CVE-2022-42474?

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

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

All Fortinet Fortios vulnerabilities

Sources

Also known as GHSA-r533-5559-j96c.

Is CVE-2022-42474 in your software?

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

Check your SBOMs for free