FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

tnftpd -- remotely exploitable vulnerability

Affected packages
tnftpd < 20040810
0 <= lukemftpd
FreeBSD <= 4.7


VuXML ID c4b025bb-f05d-11d8-9837-000c41e2cdad
Discovery 2004-08-17
Entry 2004-08-17
Modified 2016-08-11

lukemftpd(8) is an enhanced BSD FTP server produced within the NetBSD project. The sources for lukemftpd are shipped with some versions of FreeBSD, however it is not built or installed by default. The build system option WANT_LUKEMFTPD must be set to build and install lukemftpd. [NOTE: An exception is FreeBSD 4.7-RELEASE, wherein lukemftpd was installed, but not enabled, by default.]

Przemyslaw Frasunek discovered several vulnerabilities in lukemftpd arising from races in the out-of-band signal handling code used to implement the ABOR command. As a result of these races, the internal state of the FTP server may be manipulated in unexpected ways.

A remote attacker may be able to cause FTP commands to be executed with the privileges of the running lukemftpd process. This may be a low-privilege `ftp' user if the `-r' command line option is specified, or it may be superuser privileges if `-r' is *not* specified.


Bugtraq ID 10967
CVE Name CVE-2004-0794