[NEWS] MacOS X TruBlueEnvironment Buffer Overflow

From: SecuriTeam (support_at_securiteam.com)
Date: 01/28/04

  • Next message: SecuriTeam: "[UNIX] IBM Informix Dynamic Server Contains Multiple Vulnerabilities"
    To: list@securiteam.com
    Date: 28 Jan 2004 17:46:47 +0200
    
    

    The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
    - - promotion

    The SecuriTeam alerts list - Free, Accurate, Independent.

    Get your security news from a reliable source.
    http://www.securiteam.com/mailinglist.html

    - - - - - - - - -

      MacOS X TruBlueEnvironment Buffer Overflow
    ------------------------------------------------------------------------

    SUMMARY

    TruBlueEnvironment is part of the MacOS Classic Emulator. It is setuid
    root and installed by default.

    There is a buffer overflow vulnerability in the application, that allows a
    user with interactive access to escalate privileges to root.

    DETAILS

    Vulnerable Systems:
     * Mac OS X versions 10.2.x, 10.3.x

    CVE Information:
     <http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0089>
    CAN-2004-0089 TruBlueEnvironment Buffer Overflow

    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.

    Workaround
    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
    /System/Library/CoreServices/Classic\
    Startup.app/Contents/Resources/TruBlueEnvironment

    sudo chmod 4750
    /System/Library/CoreServices/Classic\
    Startup.app/Contents/Resources/TruBlueEnvironment

    (*) Located in
    /System/Library/CoreServices/Classic\
    Startup.app/Contents/Resources/TruBlueEnvironment

    Vendor Status:
    This is fixed in Security Update
    <http://docs.info.apple.com/article.html?artnum=61798> 2004-01-26.

    ADDITIONAL INFORMATION

    The information has been provided by <mailto:advisories@atstake.com>
    @stake.
    The original article can be found at:
    <http://www.atstake.com/research/advisories/2004/a012704-1.txt>
    http://www.atstake.com/research/advisories/2004/a012704-1.txt.

    ========================================

    This bulletin is sent to members of the SecuriTeam mailing list.
    To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
    In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com

    ====================
    ====================

    DISCLAIMER:
    The information in this bulletin is provided "AS IS" without warranty of any kind.
    In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.


  • Next message: SecuriTeam: "[UNIX] IBM Informix Dynamic Server Contains Multiple Vulnerabilities"

    Relevant Pages