CVE-2020-26299
FTPSrv Windows Path Traversal Vulnerability
Description
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).
INFO
Published Date :
Feb. 10, 2021, 6:15 p.m.
Last Modified :
Nov. 21, 2024, 5:19 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.8
Exploitability Score :
3.1
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2020-26299
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2020-26299
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2020-26299
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/autovance/ftp-srv/commit/457b859450a37cba10ff3c431eb4aa67771122e3 Added Reference https://github.com/autovance/ftp-srv/issues/167 Added Reference https://github.com/autovance/ftp-srv/issues/225 Added Reference https://github.com/autovance/ftp-srv/pull/224 Added Reference https://github.com/autovance/ftp-srv/security/advisories/GHSA-pmw4-jgxx-pcq9 Added Reference https://www.npmjs.com/package/ftp-srv -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Feb. 19, 2021
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:S/C:P/I:P/A:N) Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N Changed Reference Type https://github.com/autovance/ftp-srv/commit/457b859450a37cba10ff3c431eb4aa67771122e3 No Types Assigned https://github.com/autovance/ftp-srv/commit/457b859450a37cba10ff3c431eb4aa67771122e3 Patch, Third Party Advisory Changed Reference Type https://github.com/autovance/ftp-srv/issues/167 No Types Assigned https://github.com/autovance/ftp-srv/issues/167 Exploit, Patch, Third Party Advisory Changed Reference Type https://github.com/autovance/ftp-srv/issues/225 No Types Assigned https://github.com/autovance/ftp-srv/issues/225 Exploit, Third Party Advisory Changed Reference Type https://github.com/autovance/ftp-srv/pull/224 No Types Assigned https://github.com/autovance/ftp-srv/pull/224 Patch, Third Party Advisory Changed Reference Type https://github.com/autovance/ftp-srv/security/advisories/GHSA-pmw4-jgxx-pcq9 No Types Assigned https://github.com/autovance/ftp-srv/security/advisories/GHSA-pmw4-jgxx-pcq9 Exploit, Third Party Advisory Changed Reference Type https://www.npmjs.com/package/ftp-srv No Types Assigned https://www.npmjs.com/package/ftp-srv Product, Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:ftp-srv_project:ftp-srv:*:*:*:*:*:node.js:*:* versions up to (excluding) 4.4.0 -
CVE Modified by [email protected]
Feb. 10, 2021
Action Type Old Value New Value Changed Description 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 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).
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2020-26299
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2020-26299
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.74 }} -0.90%
score
0.70634
percentile