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
References
Link | Resource |
---|---|
https://github.com/gordon-matt/elFinder.NetCore | Product Third Party Advisory |
https://github.com/gordon-matt/elFinder.NetCore/blob/633da9a4d7d5c9baefd1730ee51bf7af54889600/elFinder.NetCore/Drivers/FileSystem/FileSystemDriver.cs%23L387 | Broken Link |
https://snyk.io/vuln/SNYK-DOTNET-ELFINDERNETCORE-1313838 | Third Party Advisory |
Configurations
History
09 Sep 2021, 19:13
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : 7.5
v3 : 9.8 |
CWE | CWE-20 | |
CPE | cpe:2.3:a:elfinder.netcore_project:elfinder.netcore:*:*:*:*:*:*:*:* | |
References | (MISC) https://github.com/gordon-matt/elFinder.NetCore/blob/633da9a4d7d5c9baefd1730ee51bf7af54889600/elFinder.NetCore/Drivers/FileSystem/FileSystemDriver.cs%23L387 - Broken Link | |
References | (MISC) https://snyk.io/vuln/SNYK-DOTNET-ELFINDERNETCORE-1313838 - Third Party Advisory | |
References | (MISC) https://github.com/gordon-matt/elFinder.NetCore - Product, Third Party Advisory |
01 Sep 2021, 15:19
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2021-09-01 15:15
Updated : 2024-02-04 21:47
NVD link : CVE-2021-23428
Mitre link : CVE-2021-23428
CVE.ORG link : CVE-2021-23428
JSON object : View
Products Affected
elfinder.netcore_project
- elfinder.netcore
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')