GitHub Advisoryadvisory · NuGet

GHSA-9rjp-r58j-fxgq Path traversal in elFinder.NetCore

HIGH Published 2021-09-02 Modified 2021-09-02 Official page ↗
Aliases
CVE-2021-23428
Ecosystem
NuGet
Packages
elFinder.NetCore
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
Weaknesses
CWE-20, CWE-22
Reviewed
2021-09-02

Affected packages

• NuGet elFinder.NetCore: <= 1.3.5 (no fix yet)

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

Related

Alias · CVE (1)

  • CVE-2021-23428 This affects all versions of package elFinder.NetCore. vulnerability

Weakness · CWE (2)

  • CWE-20 Improper Input Validation weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References