Security Vulnerability in Samba(7) Versions Prior to 3.0.10 May Allow Unauthorized Root Privileges



Category :Security
Release Phase :Resolved
Product :Solaris 9 Operating System
Solaris 10 Operating System  
Bug Id :6217228  
Date of Workaround Release :24-JAN-2005 
Date of Resolved Release :17-OCT-2006 


Impact

An integer overflow security issue with the Samba(7) smbd(1m) daemon may allow a local or remote authenticated user the ability to execute arbitrary commands with the privileges of Super User (typically root), on a Solaris 9 or Solaris 10 system running as a Samba(7) server.

More information on this issue is available at:


Contributing Factors

This issue can occur in the following releases:

SPARC Platform

  • Solaris 9 without patch 114684-05
  • Solaris 10 without patch 119757-01

x86 Platform

  • Solaris 9 without patch 114685-05
  • Solaris 10 without patch 119758-01

Note: Solaris 7 and Solaris 8 do not include the Samba software and are not affected by this issues. Sun does include Samba on the Solaris Companion CD for Solaris 8 as an unsupported package which installs to "/opt/sfw" and is vulnerable to this issue. Sites using the freeware version of Samba from the Solaris Companion CD will need to upgrade to a later version from Samba.org.

This issue only occurs if all of the following conditions are true:

  • The system is configured as a Samba server
  • The version of Samba installed is 2.X through 3.0.9

To determine if a system is configured as a Samba server, use the following command to check for the presence of the smb.conf(4) file:

    % ls -l /etc/sfw/smb.conf     
    -rw-r--r--   1 root  other  11665 Sep 28 16:37 /etc/sfw/smb.conf

If the output is similar to that shown above, the system is configured as a Samba server.

To determine the version of Samba installed on a system, the following command can be run:

    % /usr/sfw/sbin/smbd -V      
    Version  3.0.4

Symptoms

Unsuccessful exploitation attempts may leave evidence of an attack in system logs.


Workaround

To work around the described issue, download and compile samba 3.0.10 or higher from Samba.org

Follow the security suggestions from the samba team at: http://www.samba.org/samba/docs/server_security.html.


Resolution

This issue is addressed in the following releases:

SPARC Platform

  • Solaris 9 with patch 114684-05 or later
  • Solaris 10 with patch 119757-01 or later

x86 Platform

  • Solaris 9 with patch 114685-05 or later
  • Solaris 10 with patch 119757-01 or later



Modification History


Date: 13-JUN-2005

Change History

13-Jun-2005:

  • Updated Product field
  • Updated Contributing Factors and Resolution sections

Date: 17-OCT-2006
  • State: Resolved
  • 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 : 200472
Article Type : Sun Alert
Last reviewed : 2006-11-06
Audience : PUBLIC
Keywords :
Provide feedback  (help)
Page Tools
»  Print This Page
»  Email This Article
»  Bookmark This Article