J-Security Center

Title: FreeBSD ftpd 'setusercontext()' Remote Privilege Escalation Vulnerability

Severity: MODERATE

Description:

FreeBSD is a BSD-based operating system; 'ftpd' is an FTP server application.

The server is prone to a remote privilege-escalation vulnerability. Specifically, the server calls the 'setusercontext()' function in an unsafe manner. An authenticated user who can upload or write to a '.login_conf' configuration file may exploit this issue to set limits on the server process.

Successful exploits may allow attackers to break out of chroot jail to gain access to sensitive information or to create denial-of-service conditions. Other attacks may also be possible.

FreeBSD 5.0 and 7.0 are vulnerable; other versions or operating systems may also be affected.

Affected Products:

  • FreeBSD FreeBSD 5.0.0
  • FreeBSD FreeBSD 5.0.0 -RELEASE-p14
  • FreeBSD FreeBSD 5.0.0 -RELENG
  • FreeBSD FreeBSD 5.0.0 .x
  • FreeBSD FreeBSD 5.0.0 alpha
  • FreeBSD FreeBSD 7.0
  • FreeBSD FreeBSD 7.0 -PRERELEASE
  • FreeBSD FreeBSD 7.0 -RELEASE-p9
  • FreeBSD FreeBSD 7.0 -RELENG
  • FreeBSD FreeBSD 7.0 BETA4
  • FreeBSD FreeBSD 7.0-RELEASE
  • FreeBSD FreeBSD 7.0-RELEASE-p11
  • FreeBSD FreeBSD 7.0-RELEASE-p11
  • FreeBSD FreeBSD 7.0-RELEASE-p12
  • FreeBSD FreeBSD 7.0-RELEASE-p8
  • FreeBSD FreeBSD 7.0-STABLE
  • FreeBSD ftpd

References:

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.