exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

dosMac.txt

dosMac.txt
Posted Jan 1, 2004
Authored by Matt Burnett

It is possible to cause a denial of service attack against the SecurityServer daemon in MacOS X, MacOS X Server, and Darwin by unlocking a locked keychain and specifying a very long password.

tags | exploit, denial of service
SHA-256 | a3653aefeca3ecafb4c185983e02665e6bbf3fc54e93bfd64cdf5df740dd80e9

dosMac.txt

Change Mirror Download
Advisory Name
Local Denial Of Service Attack Against The SecurityServer Daemon In MacOS X,
MacOS X Server, And Darwin.

Release Date
12-30-03

Effected Platforms
Apple MacOS X, MacOS X Server, and Darwin.

Author
Matt Burnett (marukka@consoleconductor.com)

Vendor Status
No patch has been released as of 12-30-03.

Overview
SecurityServer is a daemon used by the effected platforms to provide
authentication, authorization, password dictionary (Keychain), and other
services. It is possible for any user to cause the SecurityServer daemon to
crash. When this happens it will have a cascading effect crashing other
processes, and leaving the system in an unusable state.

Details
It is possible to cause the SecurityServer daemon to crash by unlocking a
locked keychain and specifying a very long password. When the SecurityServer
daemon crashes, it will have a cascading effect crashing other processes
that rely on it. Since MacOS X, and many GUI and CLI programs rely on the
authentication, authorization, and password dictionary services provided by
SecurityServer, this can cause undefined behavior of those processes.
Typical behavior for programs such as login, sshd, su, and sudo are that
they will say you entered an invalid password. Typical behavior for most
applications that use the authorization services is that they will hang. It
is not possible to manually restart the SecurityServer daemon unless you
already have a existing root shell open before the attack has taken place,
since SecurityServer must be launched as root and it does no have the suid
bit enabled. Even when it is relaunched after an attack has taken place, it
will leave the system in an unusable state. Logins via the GUI (loginwindow)
will not work and authorization services will not work either. The only
realistic way to recover from an attack is to reboot the machine. I have not
fully investigated the extent that this attack could be exploited, or its
effect on a system as a whole since so many programs and applications rely
on the SecurityServer daemon.

Proof Of Concept Code
To build this code run ³gcc <file name> -framework Security ­o
CrashSecurityServer²

#include <Security/Security.h>
int main(int argc, const char *argv[])
{
SecKeychainRef defaultKeychain;
SecKeychainCopyDefault(&defaultKeychain);
SecKeychainLock(defaultKeychain);
SecKeychainUnlock(defaultKeychain, 0xFFFFFFFF, "password", true);
return 0;
}

Vendor Response
Apple Developer Connection told me that Apple does not give release dates
for patches.

Timeline ??-??-?? Flaw discovered. Most likely in MacOS X Public Beta
or 10.0. I do not remember the exact date.
11-20-03 Vendor is notified of flaw and is supplied with
proof of concept code.
12-29-03 Asked vendor for status update. Apple Product
Security referred me to Apple Developer Connection.
Apple Developer Connection informed me that Apple
does not give release dates for patches.
12-30-03 Advisory and proof of concept code
released.

Recommendation
As of the release of this advisory Apple has not yet released a patch. I am
unable to release a patch because Apple only makes portions of the code
needed to build SecurityServer available to the public. My only
recommendation is for you to allow only people your personally trust onto
your systems if they are effected by this flaw.

Login or Register to add favorites

File Archive:

March 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close