blob: 310889471d8a0248daba087c7da6ae0470726f07 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200611-05">
<title>Netkit FTP Server: Privilege escalation</title>
An incorrect seteuid() call could allow an FTP user to access some files or
directories that would normally be inaccessible.
<product type="ebuild">ftpd</product>
<announced>November 10, 2006</announced>
<revised>December 30, 2007: 02</revised>
<package name="net-ftp/netkit-ftpd" auto="yes" arch="*">
<unaffected range="ge">0.17-r4</unaffected>
<vulnerable range="lt">0.17-r4</vulnerable>
net-ftp/netkit-ftpd is the Linux Netkit FTP server with optional SSL support.
Paul Szabo reported that an incorrect seteuid() call after the chdir()
function can allow an attacker to access a normally forbidden
directory, in some very particular circumstances, for example when the
NFS-hosted targetted directory is not reachable by the client-side root
user. Additionally, some potentially exploitable unchecked setuid()
calls were also fixed.
<impact type="high">
A local attacker might craft his home directory to gain access through
ftpd to normally forbidden directories like /root, possibly with
writing permissions if seteuid() fails and if the ftpd configuration
allows that. The unchecked setuid() calls could also lead to a root FTP
login, depending on the FTP server configuration.
There is no known workaround at this time.
All Netkit FTP Server users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=net-ftp/netkit-ftpd-0.17-r4&quot;</code>
<uri link="">CVE-2006-5778</uri>
<metadata tag="submitter" timestamp="Tue, 24 Oct 2006 15:02:54 +0000">
<metadata tag="bugReady" timestamp="Tue, 24 Oct 2006 15:03:34 +0000">