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
No history.
Information
Published : 2021-09-01 15:15
Updated : 2024-02-28 18:28
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')