CVE-2017-7418
ProFTPD before 1.3.5e and 1.3.6 before 1.3.6rc5 controls whether the home directory of a user could contain a symbolic link through the AllowChrootSymlinks configuration option, but checks only the last path component when enforcing AllowChrootSymlinks. Attackers with local access could bypass the AllowChrootSymlinks control by replacing a path component (other than the last one) with a symbolic link. The threat model includes an attacker who is not granted full filesystem access by a hosting provider, but can reconfigure the home directory of an FTP user.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | proftpd-dfsg | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | proftpd-dfsg | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | proftpd-dfsg | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | proftpd-dfsg | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | proftpd-dfsg | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | proftpd-dfsg | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | proftpd-dfsg | Fix pending | UBUNTU-CVE-2017-7418 | |
| Ubuntu 14.04 | proftpd-dfsg | Fix pending | ||
| Debian 14 | proftpd-dfsg | Fixed | 1.3.5b-4 | DEBIAN-CVE-2017-7418 |
| Debian 13 | proftpd-dfsg | Fixed | 1.3.5b-4 | DEBIAN-CVE-2017-7418 |
| Debian 12 | proftpd-dfsg | Fixed | 1.3.5b-4 | DEBIAN-CVE-2017-7418 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00004.html (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00022.html (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00009.html (vendor-advisory)
References
- https://github.com/proftpd/proftpd/commit/ecff21e0d0e84f35c299ef91d7fda088e516d4ed
- https://github.com/proftpd/proftpd/commit/f59593e6ff730b832dbe8754916cb5c821db579f
- http://bugs.proftpd.org/show_bug.cgi?id=4295
- http://www.securityfocus.com/bid/97409
- https://github.com/proftpd/proftpd/pull/444/commits/349addc3be4fcdad9bd4ec01ad1ccd916c898ed8
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00004.html
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00022.html
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00009.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.