what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

iDEFENSE Security Advisory 2005-03-21.t

iDEFENSE Security Advisory 2005-03-21.t
Posted Mar 22, 2005
Authored by iDefense Labs | Site idefense.com

iDEFENSE Security Advisory 03.21.05 - Local exploitation of a buffer overflow vulnerability within the Core Foundation Library included by default in Apple Computer Inc.'s Mac OS X could allow an attacker to gain root privileges. iDEFENSE has confirmed this vulnerability in Mac OS X 10.3.5 and Mac OS X 10.3.6. Earlier versions are suspected vulnerable.

tags | advisory, overflow, local, root
systems | apple, osx
advisories | CVE-2005-0716
SHA-256 | db5ff37bdf6a8f47915914d8f018372251de8b3a79547f3275e8348007440d4a

iDEFENSE Security Advisory 2005-03-21.t

Change Mirror Download
Mac OS X CF_CHARSET_PATH Buffer Overflow Vulnerability

iDEFENSE Security Advisory 03.21.05
www.idefense.com/application/poi/display?id=219&type=vulnerabilities
March 21, 2005

I. BACKGROUND

Mac OS X is an operating system for the Apple family of microcomputers.

More information is available at the following link:
http://www.apple.com/macosx/

II. DESCRIPTION

Local exploitation of a buffer overflow vulnerability within the Core
Foundation Library included by default in Apple Computer Inc.'s Mac OS X

could allow an attacker to gain root privileges.

The vulnerability specifically exists due to improper handling of the
CF_CHARSET_PATH environment variable. When a string greater than 1,024
characters is passed via this variable, a stack-based overflow occurs,
allowing the attacker to control program flow by overwriting the
function's return address on the stack.

Any application linked against the Core Foundation Library can be used
as an exploit vector for this vulnerability. Some of the setuid root
binaries that are vulnerable include su, pppd and login.

III. ANALYSIS

Successful exploitation of this vulnerability allows for root access. An

attacker needs local access to the victim's system to exploit this
vulnerability. This vulnerability is difficult to workaround due to the
fact that a large number of system binaries are linked against the
vulnerable code.

IV. DETECTION

iDEFENSE has confirmed this vulnerability in Mac OS X 10.3.5 and Mac OS
X 10.3.6. Earlier versions are suspected vulnerable.

V. WORKAROUND

Restrict local access to trusted users only, as it is impossible to
remove the setuid bit from the affected binaries without severely
limiting the function of the system.

VI. VENDOR RESPONSE

This vulnerability is addressed in Apple Security Update 2005-003
available at:

http://docs.info.apple.com/article.html?artnum=301061

VII. CVE INFORMATION

The Common Vulnerabilities and Exposures (CVE) project has assigned the
name CAN-2005-0716 to this issue. This is a candidate for inclusion
in the CVE list (http://cve.mitre.org), which standardizes names for
security problems.

VIII. DISCLOSURE TIMELINE

02/04/2005 Initial vendor notification
02/04/2005 Initial vendor response
03/21/2005 Coordinated public disclosure

IX. CREDIT

The discoverer of this vulnerability wishes to remain anonymous.

Get paid for vulnerability research
http://www.idefense.com/poi/teams/vcp.jsp

Free tools, research and upcoming events
http://labs.idefense.com

X. LEGAL NOTICES

Copyright (c) 2005 iDEFENSE, Inc.

Permission is granted for the redistribution of this alert
electronically. It may not be edited in any way without the express
written consent of iDEFENSE. If you wish to reprint the whole or any
part of this alert in any other medium other than electronically, please
email customerservice@idefense.com for permission.

Disclaimer: The information in the advisory is believed to be accurate
at the time of publishing based on currently available information. Use
of the information constitutes acceptance for use in an AS IS condition.
There are no warranties with regard to this information. Neither the
author nor the publisher accepts any liability for any direct, indirect,
or consequential loss or damage arising from use of, or reliance on,
this information.
Login or Register to add favorites

File Archive:

December 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Dec 1st
    0 Files
  • 2
    Dec 2nd
    41 Files
  • 3
    Dec 3rd
    0 Files
  • 4
    Dec 4th
    0 Files
  • 5
    Dec 5th
    0 Files
  • 6
    Dec 6th
    0 Files
  • 7
    Dec 7th
    0 Files
  • 8
    Dec 8th
    0 Files
  • 9
    Dec 9th
    0 Files
  • 10
    Dec 10th
    0 Files
  • 11
    Dec 11th
    0 Files
  • 12
    Dec 12th
    0 Files
  • 13
    Dec 13th
    0 Files
  • 14
    Dec 14th
    0 Files
  • 15
    Dec 15th
    0 Files
  • 16
    Dec 16th
    0 Files
  • 17
    Dec 17th
    0 Files
  • 18
    Dec 18th
    0 Files
  • 19
    Dec 19th
    0 Files
  • 20
    Dec 20th
    0 Files
  • 21
    Dec 21st
    0 Files
  • 22
    Dec 22nd
    0 Files
  • 23
    Dec 23rd
    0 Files
  • 24
    Dec 24th
    0 Files
  • 25
    Dec 25th
    0 Files
  • 26
    Dec 26th
    0 Files
  • 27
    Dec 27th
    0 Files
  • 28
    Dec 28th
    0 Files
  • 29
    Dec 29th
    0 Files
  • 30
    Dec 30th
    0 Files
  • 31
    Dec 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close