SecurityContext

CVE-2020-20277: Uftpd - Path Traversal & Remote Code Execution

  • Cve: CVE-2020-20277
  • Name: Uftpd - Path Traversal & Remote Code Execution
  • Description: 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.
  • Impact: Attackers can read/write arbitrary files, leak memory, or execute remote code, leading to full system compromise.
  • Remediation: Update to the latest version of uftpd or apply security patches addressing the vulnerability.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_read, file_system_write, information_disclosure, remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.26236
  • Epss percentile: 0.98043
  • Assignee: [email protected]
  • Published at: 2020-12-18T19:15:14Z
  • Age in days: 2167
  • Modified at: 2026-06-17T03:02:56Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-20277
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

Public exploits

UrlSourceAdded date
http://packetstormsecurity.com/files/167908/uftpd-2.10-Directory-Traversal.htmlnvd2020-12-18

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/troglobit/uftpd/commit/455b47d3756aed162d2d0ef7f40b549f3b5b30fePatch, Third Party Advisory
http://packetstormsecurity.com/files/167908/uftpd-2.10-Directory-Traversal.htmlExploit, Third Party Advisory, VDB Entry
https://arinerron.com/blog/posts/6Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
troglobit:uftpd>= 2.7, <= 2.10nonvd/v1/products/troglobit/uftpd

Projects

RepositoryLink kindsIndexedUrl
troglobit/uftpdcommit, fixyes/v1/repositories/troglobit/uftpd

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2020-12-18
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts