[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

    • [NT] Multiple Vendor Insecure use of CreateProcess()
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Improper use of Windows API command CreateProcess allows attackers to ... until a module is encountered to execute. ... This creates a scenario whereby arbitrary code could be executed. ...
      (Securiteam)
    • [NT] Switch Off Multiple Vulnerabilities
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Stack-based Buffer Overflow: ... execute arbitrary code on the remote system - possibly with SYSTEM ... boundaries until the ecx register reaches zero (where the ecx was the ...
      (Securiteam)
    • [NEWS] URL Parsing and Plain Text Password disclosure in Best Buy Employee Toolkit Software
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... entered in the URL area and an attacker could use this to execute a local ... command shell or execute other programs locally stored. ... Store's central server. ...
      (Securiteam)
    • [UNIX] Open Webmail Remote Command Execution (userstat.pl)
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... A remote attacker can run arbitrary commands with the web ... The vulnerability was discovered in an obsolete script named userstat.pl ... commands an attacker would want to execute. ...
      (Securiteam)
    • [UNIX] xloadimage Multiple Vulnerabilities (Buffer Overflow, Command Execution)
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... to execute arbitrary commands via malformed images. ... Multiple buffer overflow in xloadimage allow remote attackers to execute ... Under Linux the buffer overflows allow remote attackers to execute ...
      (Securiteam)