Samba SID name translation privilege escalation

samba-sid-name-privilege-escalation (34315) The risk level is classified as HighHigh Risk

Description:

Samba could allow a local attacker to gain elevated privileges on the system, caused by a logic error in the smbd internal stack. SIDs to/from names are improperly translated when using a Samba local list of user and group accounts, which could allow a local attacker to temporarily issue SMB/CIFS protocol operations as the root user. An attacker could exploit this vulnerability to gain root privileges on the system.

*CVSS:

Base Score: 7
  Access Vector: Local
  Access Complexity: Low
  Authentication: Not Required
  Confidentiality Impact: Complete
  Integrity Impact: Complete
  Availability Impact: Complete
 
Temporal Score: 5.2
  Exploitability: Unproven
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Gain Privileges

Remedy:

Apply the patch for this vulnerability or upgrade to the latest version of Samba (3.0.25 or later), available from the Samba Web site. See References.

For Hewlett-Packard (Samba):
Refer to HPSBTU02218 SSRT071424 for patch, upgrade, or suggested workaround information. See References.

For Hewlett-Packard (Samba):
Refer to HPSBUX02218 SSRT071424 for patch, upgrade, or suggested workaround information. See References.

For Debian GNU/Linux (samba):
Refer to DSA-1291-1 for patch, upgrade, or suggested workaround information. See References.

For Ubuntu Linux (samba):
Refer to USN-460-1 for patch, upgrade, or suggested workaround information. See References.

For Mandriva Linux (samba):
Refer to MDKSA-2007:104 for patch, upgrade, or suggested workaround information. See References.

For Gentoo Linux (samba):
Refer to GLSA 200705-15 for patch, upgrade, or suggested workaround information. See References.

For Mandriva Linux (samba):
Refer to MDKSA-2007:104-1 for patch, upgrade, or suggested workaround information. See References.

For Solaris (samba):
Refer to Sun Alert ID: 102964 for patch, upgrade, or suggested workaround information. See References.

For Tru64 UNIX:
Refer to BugTraq Mailing List, Tue Jul 10 2007 - 07:53:45 CDT for patch, upgrade, or suggested workaround information. See References.

For other distributions:
Apply the appropriate update for your system. See References.

References:

  • BugTraq Mailing List, Sun May 13 2007 - 17:48:28 CDT : [SAMBA-SECURITY] CVE-2007-2444: Local SID/Name Translation Failure Can Result in User Privilege Elevation.
  • BugTraq Mailing List, Tue Jul 10 2007 - 07:53:45 CDT : [security bulletin] HPSBTU02233 SSRT071424 rev.1 - HP Tru64 UNIX Internet Express running Samba, Remote Arbitrary Code Execution or Local Unauthorized Privilege Elevation.
  • HPSBTU02218 SSRT071424: HP Tru64 UNIX Internet Express running Samba, Remote Arbitrary Code Execution or Local Unauthorized Privilege Elevation.
  • HPSBUX02218 SSRT071424 : HP-UX running CIFS Server (Samba), Remote Arbitrary Code Execution.
  • Samba Web site: Samba - Security Updates and Information.
  • Sun Alert ID: 102964: Multiple Security Vulnerabilities in samba(7) May Allow Remote Code Execution, Elevation of Privileges, or Remote Shell Command Execution.
  • ASA-2007-272: Multiple Security Vulnerabilities in samba(7) May Allow Remote Code Execution Elevation of Privileges or Remote Shell Command Execution (Sun 102964)
  • BID-23974: Samba SID Names Local Privilege Escalation Vulnerability
  • CVE-2007-2444: Logic error in the SID/Name translation functionality in smbd in Samba 3.0.23d through 3.0.25pre2 allows local users to gain temporary privileges and execute SMB/CIFS protocol operations via unspecified vectors that cause the daemon to transition to the root user.
  • DSA-1291: samba -- several vulnerabilities
  • GLSA-200705-15: Samba: Multiple vulnerabilities
  • MDKSA-2007:104: Updated samba packages fix multiple vulnerabilities
  • MDKSA-2007:104-1: Updated samba packages fix multiple vulnerabilities
  • OpenPKG-SA-2007.012: Samba
  • SA25232: Samba Multiple Vulnerabilities
  • SA25675: Sun Solaris Multiple Samba Vulnerabilities
  • SA25772: HP Internet Express for Tru64 UNIX Samba Vulnerabilities
  • SECTRACK ID: 1018049: Samba SID/Name Translation Bug Lets Local Users Gain Root Privileges
  • SUSE-SA:2007:031: Samba Security Problems
  • SUSE-SR:2007:011: SUSE Security Summary Report
  • USN-460-1: Samba vulnerabilities
  • USN-460-2: Samba regression
  • VUPEN/ADV-2007-1805: Samba Multiple Remote Code Execution and Local Privilege Escalation Vulnerabilities
  • VUPEN/ADV-2007-2210: Sun Solaris Samba Multiple Code Execution and Privilege Escalation Vulnerabilities
  • VUPEN/ADV-2007-2281: HP Internet Express for Tru64 UNIX Samba Multiple Command Execution Vulnerabilities

Platforms Affected:

  • Canonical Ubuntu 6.06 LTS
  • Canonical Ubuntu 6.10
  • Canonical Ubuntu 7.04
  • Compaq Tru64 6.6
  • Debian Debian Linux 4.0
  • Gentoo Linux
  • HP HP-UX B.11.11
  • HP HP-UX B.11.23
  • HP HP-UX B.11.31
  • MandrakeSoft Mandrake Linux 2007 X86_64
  • MandrakeSoft Mandrake Linux 2007
  • MandrakeSoft Mandrake Linux 2007.1
  • MandrakeSoft Mandrake Linux 2007.1 X86_64
  • MandrakeSoft Mandrake Linux 2008.0 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 3.0
  • MandrakeSoft Mandrake Linux Corporate Server 3.0 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 4.0 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 4.0
  • Novell Linux Desktop 9
  • Novell Linux POS 9
  • Novell Open Enterprise Server
  • Novell Open Enterprise Server
  • Novell OpenSUSE 10.2
  • Novell UnitedLinux 1.0
  • OpenPKG OpenPKG CURRENT
  • OpenPKG OpenPKG Enterprise E1.0-SOLID
  • Samba Samba 3.0.23d
  • Samba Samba 3.0.25 Pre2
  • Sun Solaris 10 SPARC
  • Sun Solaris 10 x86
  • Sun Solaris 9 SPARC
  • Sun Solaris 9 x86
  • SuSE Linux Enterprise Server 8
  • SuSE SuSE Linux Retail Solution 8
  • SuSE SuSE SLED 10
  • SuSE SuSE SLES 10
  • SuSE SuSE SLES 9

Reported:

May 13, 2007

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page

* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

About IBM Internet Security Systems

IBM Internet Security Systems is a trusted security advisor to thousands of the world's leading businesses and governments, helping to provide pre-emptive protection for networks, desktops and servers. The IBM Proventia? integrated security platform is designed to automatically protect against both known and unknown threats, helping to keep networks up and running and shield customers from online attacks before they impact business assets. IBM Internet Security Systems products and services are based on the proactive security intelligence of its X-Force? research and development team ? an unequivocal world authority in vulnerability and threat research. The IBM Internet Security Systems product line is also complemented by comprehensive Managed Security Services and Professional Security Services. For more information, visit the IBM Internet Security Systems Web site at www.iss.net or call 800-776-2362.