VulnerabilityModified
CVE-2021-23428
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
CRITICAL 9.8EPSS 1.67%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.67%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 1.67% probability · 75th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-22
- Affected
- elfinder.netcore project/elfinder.netcore
- Source
- report@snyk.io
References
- https://github.com/gordon-matt/elFinder.NetCoreProduct, Third Party Advisory
- https://github.com/gordon-matt/elFinder.NetCore/blob/633da9a4d7d5c9baefd1730ee51bf7af54889600/elFinder.NetCore/Drivers/FileSystem/FileSystemDriver.cs%23L387Broken Link
- https://snyk.io/vuln/SNYK-DOTNET-ELFINDERNETCORE-1313838Third Party Advisory
- https://github.com/gordon-matt/elFinder.NetCoreProduct, Third Party Advisory
- https://github.com/gordon-matt/elFinder.NetCore/blob/633da9a4d7d5c9baefd1730ee51bf7af54889600/elFinder.NetCore/Drivers/FileSystem/FileSystemDriver.cs%23L387Broken Link
- https://snyk.io/vuln/SNYK-DOTNET-ELFINDERNETCORE-1313838Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.