Debian proftpd root Privilege Escalation
High Nessus Network Monitor Plugin ID 1817
SynopsisThe remote host is vulnerable to multiple attack vectors
DescriptionThe remote FTP server is subject to two flaws:
- There is a configuration error in the postinst script, when the user enters 'yes', when asked if anonymous access should be enabled. The postinst script wrongly leaves the 'run as uid/gid root' configuration option in /etc/proftpd.conf, and adds a 'run as uid/gid nobody' option that has no effect.
There is a bug that comes up when /var is a symlink, and proftpd is restarted. When stopping proftpd, the /var symlink is removed; when it's started again a file named /var is created.
SolutionUpgrade proftpd to proftpd-1.2.0pre10-2.0potato1 or higher.