CVE-2021-23427 Arbitrary File Write via Archive Extraction (Zip Slip)

High 8.6 Published Updated

Attackers can write arbitrary files via Zip Slip in elFinder.NetCore, potentially leading to code execution or data modification.

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

CVE-2021-23427 is a high-severity path traversal vulnerability in elFinder.NetCore, published on 1 Sep 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

This affects all versions of package elFinder.NetCore. The ExtractAsync function within the FileSystem is vulnerable to arbitrary extraction due to insufficient validation.

Weakness: CWE-22

Which versions are affected by CVE-2021-23427?

2 open source packages ship an affected version, including elFinder.NetCore. It affects 1 product.

PackageAffectedFixed in
elFinder.NetCore NuGetAll versions to 1.3.5None
elFinder.NetCore NuGetAll versions to 1.3.5None

Products include Elfinder.netcore Project Elfinder.netcore.

How do I fix CVE-2021-23427?

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

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

Sources

Also known as GHSA-wmpm-fq7r-jq56.

Is CVE-2021-23427 in your software?

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

Check your SBOMs for free