MacOS X TruBlueEnvironment Buffer Overflow

From: _at_stake Advisories (_at_stake)
Date: 01/29/04

  • Next message: "----------========== OPEN3S-2003-08-08-eng-informix-ontape ==========----------"
    Date: Wed, 28 Jan 2004 22:20:46 -0500

    Hash: SHA1

                                    @stake, Inc.

                                Security Advisory

    Advisory Name: TruBlueEnvironment Buffer Overflow
     Release Date: 01/27/2004
      Application: TruBlueEnvironment
         Platform: Mac OS X 10.3.x and 10.2.x
         Severity: A user with an account on the system can become root
           Author: Dave G. <>
    Vendor Status: Notified, Patch Issued
    CVE Candidate: CAN-2004-0089 TruBlueEnvironment Buffer Overflow


    TruBlueEnvironment is part of the MacOS Classic Emulator. It is
    setuid root and installed by default. There is a buffer overflow
    vulnerability that allows a user with interactive access to escalate
    privileges to root.


    TruBlueEnvironment takes the value of an environment variable and
    copies it into a buffer without performing any bounds checking. Since
    this buffer is stored on the stack, it is possible to overwrite the
    return stack frame and execute arbitrary code as root.

    Vendor Response:

    This is fixed in Security Update 2004-01-26. Further information
    about this update is available via:


    Restrict access to the TruBlueEnvironment(*) executable, or remove
    it entirely if it is not being used. One approach to restricting
    access would be to remove global execute permissions from the
    TruBlueEnvironment executable, and only allow a specific group to
    execute the application. The following commands will restrict access
    to the 'admin' group:

    sudo chown .admin

    sudo chmod 4750

    (*) Located in

    Common Vulnerabilities and Exposures (CVE) Information:

    The Common Vulnerabilities and Exposures (CVE) project has assigned
    the following names to these issues. These are candidates for
    inclusion in the CVE list (, which standardizes
    names for security problems.

     CAN-2004-0089 TruBlueEnvironment Buffer Overflow

    @stake Vulnerability Reporting Policy:

    @stake Advisory Archive:

    PGP Key:

    Copyright 2004 @stake, Inc. All rights reserved.

    Version: PGP 8.0 - not licensed for commercial use:

    -----END PGP SIGNATURE-----

  • Next message: "----------========== OPEN3S-2003-08-08-eng-informix-ontape ==========----------"