CVE-2021-23428 Directory Traversal

High 8.6 Published Updated

Attackers can escape the intended directory to read or modify arbitrary files due to insufficient input sanitization in elFinder.NetCore.

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

CVE-2021-23428 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 Path.Combine(...) method is used to create an absolute file path. Due to missing sanitation of the user input and a missing check of the generated path its possible to escape the Files directory via path traversal

Weakness: CWE-22

Which versions are affected by CVE-2021-23428?

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

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

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

Sources

Also known as GHSA-9rjp-r58j-fxgq.

Is CVE-2021-23428 in your software?

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

Check your SBOMs for free