CVE-2021-26102 Path traversal in FortiWAN
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.
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.
Other vulnerabilities in Fortinet FortiWAN
Sources
Also known as GHSA-wwq6-xmjh-4f52.