CVE-2021-26102 Path traversal in FortiWAN

Critical 9.8 Published Updated

Remote unauthenticated attackers can delete configuration files via path traversal, resetting the admin password to default and gaining control.

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

What is CVE-2021-26102?

CVE-2021-26102 is a critical path traversal vulnerability in Fortinet FortiWAN, published on 19 Dec 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A relative path traversal vulnerability (CWE-23) in FortiWAN version 4.5.7 and below, 4.4 all versions may allow a remote non-authenticated attacker to delete files on the system by sending a crafted POST request. In particular, deleting specific configuration files will reset the Admin password to its default value.

Weakness: CWE-22, CWE-305

Which versions are affected by CVE-2021-26102?

It affects 1 product.

Products include Fortinet Fortiwan.

How do I fix CVE-2021-26102?

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

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-wwq6-xmjh-4f52.

Is CVE-2021-26102 in your software?

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

Check your SBOMs for free