Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ GLSA 200611-05 ] Netkit FTP Server: Privilege escalation
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index News & Announcements
View previous topic :: View next topic  
Author Message
GLSA
Veteran
Veteran


Joined: 12 May 2004
Posts: 1703

PostPosted: Fri Nov 10, 2006 4:26 pm    Post subject: [ GLSA 200611-05 ] Netkit FTP Server: Privilege escalation Reply with quote

Gentoo Linux Security Advisory

Title: Netkit FTP Server: Privilege escalation (GLSA 200611-05)
Severity: high
Exploitable: remote
Date: November 10, 2006
Updated: December 30, 2007
Bug(s): #150292
ID: 200611-05

Synopsis

An incorrect seteuid() call could allow an FTP user to access some files or directories that would normally be inaccessible.

Background

net-ftp/netkit-ftpd is the Linux Netkit FTP server with optional SSL support.

Affected Packages

Package: net-ftp/netkit-ftpd
Vulnerable: < 0.17-r4
Unaffected: >= 0.17-r4
Architectures: All supported architectures


Description

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

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.

Workaround

There is no known workaround at this time.

Resolution

All Netkit FTP Server users should upgrade to the latest version:
Code:
# emerge --sync
# emerge --ask --oneshot --verbose ">=net-ftp/netkit-ftpd-0.17-r4"


References

CVE-2006-5778


Last edited by GLSA on Sun Dec 30, 2007 4:18 am; edited 1 time in total
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index News & Announcements All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum