Permissions, Privileges, and Access Controls in ProFTPD - CVE-2017-7418
Published: August 8, 2019 / Updated: September 7, 2020
ProFTPD
Detailed vulnerability description
The vulnerability allows a local user to access sensitive information.
The vulnerability exists due to incorrect implementation of the AllowChrootSymlinks option that checks only the last path component when enforcing it. A local user with ability to manage own FTP home directory can create a specially crafted symbolic link and gain unauthorized access to the filesystem.
How to mitigate CVE-2017-7418
Sources
- http://bugs.proftpd.org/show_bug.cgi?id=4295
- https://github.com/proftpd/proftpd/commit/ecff21e0d0e84f35c299ef91d7fda088e516d4ed
- https://github.com/proftpd/proftpd/commit/f59593e6ff730b832dbe8754916cb5c821db579f
- https://github.com/proftpd/proftpd/pull/444/commits/349addc3be4fcdad9bd4ec01ad1ccd916c898ed8