CVE-2021-20040 Path traversal in SonicWall SMA100

High 7.5 Published Updated

Remote unauthenticated attackers can upload malicious files via path traversal in SMA100 appliances, potentially leading to code execution.

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-20040?

CVE-2021-20040 is a high-severity path traversal vulnerability in SonicWall SMA100, published on 8 Dec 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A relative path traversal vulnerability in the SMA100 upload funtion allows a remote unauthenticated attacker to upload crafted web pages or files as a 'nobody' user. This vulnerability affected SMA 200, 210, 400, 410 and 500v appliances.

Weakness: CWE-22, CWE-23

Which versions are affected by CVE-2021-20040?

It affects 5 products.

Products include Sonicwall Sma 200 Firmware, Sonicwall Sma 210 Firmware, Sonicwall Sma 400 Firmware, Sonicwall Sma 410 Firmware, Sonicwall Sma 500v Firmware.

How do I fix CVE-2021-20040?

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

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

Sources

Also known as GHSA-f8vh-ph3q-qhmc.

Is CVE-2021-20040 in your software?

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

Check your SBOMs for free