CVE-2020-26299
Summary
| CVE | CVE-2020-26299 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-02-10 18:15:00 UTC |
| Updated | 2021-02-19 17:27:00 UTC |
| 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). |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| Symlink Resolution · Discussion #225 · autovance/ftp-srv · GitHub |
MISC |
github.com |
Exploit, Third Party Advisory |
| ftp-srv - npm |
MISC |
www.npmjs.com |
Product, Third Party Advisory |
| fix(fs): check resolved path against root (#224) · autovance/ftp-srv@457b859 · GitHub |
MISC |
github.com |
Patch, Third Party Advisory |
| fix(fs): check resolved path against root by matt-forster · Pull Request #224 · autovance/ftp-srv · GitHub |
MISC |
github.com |
Patch, Third Party Advisory |
| File System Bounds Escape · Advisory · autovance/ftp-srv · GitHub |
CONFIRM |
github.com |
Exploit, Third Party Advisory |
| Windows: User can escape from root directory · Issue #167 · autovance/ftp-srv · GitHub |
MISC |
github.com |
Exploit, Patch, Third Party Advisory |
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 982951 Nodejs (npm) Security Update for ftp-srv (GHSA-pmw4-jgxx-pcq9)