// For flags

CVE-2020-26299

File System Bounds Escape

Severity Score

9.6
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

3
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

ftp-srv is an open-source FTP server designed to be simple yet configurable. In ftp-srv before version 4.4.0 there is a path-traversal vulnerability. Clients of FTP servers utilizing ftp-srv hosted on Windows machines can escape the FTP user's defined root folder using the expected FTP commands, for example, CWD and UPDR. When windows separators exist within the path (`\`), `path.resolve` leaves the upper pointers intact and allows the user to move beyond the root folder defined for that user. We did not take that into account when creating the path resolve function. The issue is patched in version 4.4.0 (commit 457b859450a37cba10ff3c431eb4aa67771122e3).

ftp-srv es un servidor FTP de código abierto diseñado para ser simple pero configurable. En ftp-srv versiones anteriores a 4.4.0, se presenta una vulnerabilidad de salto de ruta. Los clientes de servidores FTP que utilizan ftp-srv alojado en máquinas Windows pueden escapar de la carpeta root definida por el usuario FTP utilizando los comandos FTP previstos, por ejemplo, CWD y UPDR. Cuando contienen separadores de ventanas dentro de la ruta ("\"), "path.resolve" deja intactos los punteros superiores y permite al usuario moverse más allá de la carpeta root definida para ese usuario. No lo tomamos en cuenta al crear la función de resolución de ruta. El problema está parcheado en la versión 4.4.0 (commit 457b859450a37cba10ff3c431eb4aa67771122e3)

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None
Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
None
Integrity
High
Availability
None
Attack Vector
Network
Attack Complexity
Low
Authentication
Single
Confidentiality
Partial
Integrity
Partial
Availability
None
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2020-10-01 CVE Reserved
  • 2021-02-10 CVE Published
  • 2024-01-30 EPSS Updated
  • 2024-08-04 CVE Updated
  • 2024-08-04 First Exploit
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
CWE
  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Ftp-srv Project
Search vendor "Ftp-srv Project"
Ftp-srv
Search vendor "Ftp-srv Project" for product "Ftp-srv"
< 4.4.0
Search vendor "Ftp-srv Project" for product "Ftp-srv" and version " < 4.4.0"
node.js
Affected