Vulnerability Details : CVE-2020-20277
There are multiple unauthenticated directory traversal vulnerabilities in different FTP commands in uftpd FTP server versions 2.7 to 2.10 due to improper implementation of a chroot jail in common.c's compose_abspath function that can be abused to read or write to arbitrary files on the filesystem, leak process memory, or potentially lead to remote code execution.
Vulnerability category: Directory traversalExecute code
Exploit prediction scoring system (EPSS) score for CVE-2020-20277
Probability of exploitation activity in the next 30 days: 12.64%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 95 % EPSS Score History EPSS FAQ
CVSS scores for CVE-2020-20277
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source |
---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2020-20277
-
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.Assigned by: nvd@nist.gov (Primary)
References for CVE-2020-20277
-
https://github.com/troglobit/uftpd/commit/455b47d3756aed162d2d0ef7f40b549f3b5b30fe
FTP/TFTP: Fix directory traversal regression, reported by Aaron Esau · troglobit/uftpd@455b47d · GitHubPatch;Third Party Advisory
-
http://packetstormsecurity.com/files/167908/uftpd-2.10-Directory-Traversal.html
uftpd 2.10 Directory Traversal ≈ Packet StormExploit;Third Party Advisory;VDB Entry
-
https://arinerron.com/blog/posts/6
ArinerronThird Party Advisory
Products affected by CVE-2020-20277
- cpe:2.3:a:troglobit:uftpd:*:*:*:*:*:*:*:*