Apple Mac OS X kernel file descriptor privilege escalation

macosx-kernel-descr-privilege-escalation (38469) The risk level is classified as HighHigh Risk

Description:

The Apple Mac OS X kernel could allow a local attacker to gain elevated privileges on the system, caused by improper handling of standard file descriptors when a setuid or setgid application is executed. By executing a setuid or setgid application when the standard file descriptors are in an invalid state, a local attacker could exploit this vulnerability to gain elevated privileges on the system.

Platforms Affected:

  • Apple, Mac OS X 10.4
  • Apple, Mac OS X 10.4.1
  • Apple, Mac OS X 10.4.10
  • Apple, Mac OS X 10.4.2
  • Apple, Mac OS X 10.4.3
  • Apple, Mac OS X 10.4.4
  • Apple, Mac OS X 10.4.5
  • Apple, Mac OS X 10.4.6
  • Apple, Mac OS X 10.4.7
  • Apple, Mac OS X 10.4.8
  • Apple, Mac OS X 10.4.9
  • Apple, Mac OS X Server 10.4
  • Apple, Mac OS X Server 10.4.1
  • Apple, Mac OS X Server 10.4.10
  • Apple, Mac OS X Server 10.4.2
  • Apple, Mac OS X Server 10.4.3
  • Apple, Mac OS X Server 10.4.4
  • Apple, Mac OS X Server 10.4.5
  • Apple, Mac OS X Server 10.4.6
  • Apple, Mac OS X Server 10.4.7
  • Apple, Mac OS X Server 10.4.8
  • Apple, Mac OS X Server 10.4.9

Remedy:

Apply Apple Security Update 2007-008 or upgrade to the latest version of Mac OS X (10.4.11 or later), available from the Apple Web site. See References.

Consequences:

Gain Privileges

References:

  • Apple Web site, About the security content of Mac OS X 10.4.11 and Security Update 2007-008 at http://docs.info.apple.com/article.html?artnum=307041.
  • BID-26444: Apple Mac OS X v10.4.11 2007-008 Multiple Security Vulnerabilities
  • CVE-2007-4685: The kernel in Apple Mac OS X 10.4 through 10.4.10 allows local users to gain privileges by executing setuid or setgid programs in which the stdio, stderr, or stdout file descriptors are in an unexpected state.
  • SA27643: Apple Mac OS X Security Update Fixes Multiple Vulnerabilities
  • SECTRACK ID: 1018950: Mac OS X Kernel and Networking Bugs Let Remote and Local Users Deny Service or Execute Arbitrary Code
  • VUPEN/ADV-2007-3868: Apple Mac OS X Command Execution and Denial of Service Vulnerabilities

Reported:

Nov 14, 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