Apple Mac OS X ffs_mountfs() buffer overflow

macos-ffsmountfs-bo (31409) The risk level is classified as HighHigh Risk

Description:

Apple Mac OS X is vulnerable to a heap-based buffer overflow, caused by an integer overflow in the ffs_mountfs() function. By persuading a victim to open a specially-crafted UFS DMG image, an attacker could overflow a buffer and execute arbitrary code on the system or cause the system to crash.

Note: The vulnerability is remotely exploitable if the "open safe files" option is enabled when using Safari.

Platforms Affected:

  • Apple, Mac OS X 10.3.9
  • Apple, Mac OS X 10.4.8
  • Apple, Mac OS X Server 10.3.9
  • Apple, Mac OS X Server 10.4.8

Remedy:

Upgrade to the latest version of Mac OS X (10.4.9 or later) or apply Apple Security Update 2007-003. See References.

Consequences:

Gain Access

References:

  • Apple Mac OS X Web site, Apple - Mac OS X at http://www.apple.com/macosx/.
  • Mac OS X 10.4.9 and Security Update 2007-003, About the security content of Mac OS X 10.4.9 and Security Update 2007-003 at http://docs.info.apple.com/article.html?artnum=305214.
  • MOAB-10-01-2007, Apple DMG UFS ffs_mountfs() Integer Overflow Vulnerability at http://projects.info-pull.com/moab/MOAB-10-01-2007.html.
  • BID-21993: Apple Mac OS X DMG UFS FFS_MountFS Integer Overflow Vulnerability
  • CVE-2007-0229: Integer overflow in the ffs_mountfs function in Mac OS X 10.4.8 and FreeBSD 6.1 allows local users to cause a denial of service (panic) and possibly gain privileges via a crafted DMG image that causes allocation of a negative size buffer leading to a heap-based buffer overflow, a related issue to CVE-2006-5679. NOTE: a third party states that this issue does not cross privilege boundaries in FreeBSD because only root may mount a filesystem.
  • FrSIRT/ADV-2007-0141: Apple Mac OS X UFS Filesystem ffs_mountfs() Remote Integer Overflow Vulnerability
  • FrSIRT/ADV-2007-0930: Apple Mac OS X Multiple Remote Code Execution and Denial of Service Vulnerabilities
  • OSVDB ID: 32684: Mac OS X UFS ffs_mountfs() Local Overflow
  • SA23703: Apple Mac OS X UFS ffs_mountfs() Integer Overflow
  • SA24479: Mac OS X Security Update Fixes Multiple Vulnerabilities
  • SECTRACK ID: 1017751: Mac OS X Lets Remote Users Execute Arbitrary Code and Local Users Obtain Elevated Privileges and Deny Service

Reported:

Jan 10, 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 (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.

Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.

For corrections or additions please email xforce@iss.net

Return to the main page