Security Vulnerability in the Solaris 9 in.ftpd(1M) Server May Allow Unauthorized Directory Access



Category :Security
Release Phase :Resolved
Product :Solaris 9 Operating System  
Bug Id :5012436  
Date of Workaround Release :18-MAY-2006 
Date of Resolved Release :23-MAY-2006 


Impact

A security vulnerability in the Solaris 9 in.ftpd(1M) server may allow local or remote unprivileged users to access directories outside of their home directory or to log in with their $HOME directory set to "/" (slash).

This issue is also described in CAN-2004-0148 at http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0148


Contributing Factors

This issue can occur in the following releases:

SPARC Platform

x86 Platform

Notes:

  1. Solaris 8 and Solaris 10 are not affected by this issue.
  2. This issue only affects systems configured as FTP servers with either the 'restricted-uid' or 'restricted-gid' clause in the ftpaccess(4) file.

To determine if the in.ftpd service is enabled on a system the following command can be used:

    $ ftp remote-host
    Connected to remote-host.domain.com.
    220 remote-host FTP server ready.
    Name (remote-host:username):

Symptoms

There are no predictable symptoms that would indicate the described issue has been exploited.


Workaround

To work around the described issue until patches can be applied, disable the in.ftpd(1M) daemon with the following steps:

1. Edit the "/etc/inetd.conf" file and comment out the following line by prepending the "#" symbol, as in the following example:

    #ftp stream tcp6 nowait root /usr/sbin/in.ftpd in.ftpd

2. Send the inetd(1M) process a hangup signal (SIGHUP) to that inetd will reread the inetd.conf configuration file:

    # pkill -HUP inetd

This will disable in.ftpd(1M).


Resolution

This issue is addressed in the following releases:

SPARC Platform

x86 Platform




Modification History


Date: 23-MAY-2006

23-May-2006:

  • Updated Contributing Factors and Resolution sections



Attachments
This solution has no attachment

 
 
Login Required

You must login and have a valid contract to access Sun's Premium content which includes:

  • Sun Alerts
  • Bugs
  • Patches
  • Solutions
  • White Papers
  • Documentation
  • Support Knowledge

Login Required

You must login and have a valid contract to access Sun's contracted features

Access Legend:

(Login to access)   Sun Contracted Content
(Login to access)   Sun Contracted Feature

Please make use of SunSolve Feedback application by selecting the floating [+] to provide feedback about this specific document.

Search

Article Details
Article ID : 201136
Article Type : Sun Alert
Last reviewed : 2006-06-13
Audience : PUBLIC
Keywords :
Provide feedback  (help)
Page Tools
»  Print This Page
»  Email This Article
»  Bookmark This Article