CVE-2021-23427 Arbitrary File Write via Archive Extraction (Zip Slip)
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.
| Package | Affected | Fixed in |
|---|---|---|
elFinder.NetCore NuGet | All versions to 1.3.5 | None |
elFinder.NetCore NuGet | All versions to 1.3.5 | None |
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.
Other vulnerabilities in elFinder.NetCore
Sources
Also known as GHSA-wmpm-fq7r-jq56.