Serious vulnerability to Apple's OS X Yosemite

You can skip the security of the Apple OS X Yosemite operating system and gain administrative rights by using a few lines of code that fit into a tweet.apple yosemite

The functional Yosemite, also known as 10.10, is the latest stable version of Apple's operating system, so many will have problems with this vulnerability.

The bug which can be exploited by software and hackers to gain full control of the computer, documented by well-known researcher Stefan Esser.

Everything is possible thanks to an environment variable called DYLD_PRINT_TO_FILE added to Yosemite by Apple. It specifies that within the file system an element of the operating system called dynamic linker can record error logs.

If the variable is changed with a privileged program, an attacker can arbitrarily modify files belonging to the root account, files whose change is allowed only with administrator privileges.

[tweet_embed id = 623727538234368000]

These shell commands run whoami to find the username (for example iguru) and then there is "ALL = (ALL) NOPASSWD: ALL". So we have:

ALL = (ALL) NOPASSWD: ALL

Then the results through DYLD_PRINT_TO_FILE are logged and contain the list of users who can obtain root privileges: / etc / sudoers.

This line tells OS X that your user account has the ability to gain root privileges without a password s.

A privileged program (owned by root) runs set-uid newgrp – to get root-level access to sudoers.

Finally, with a sudo -s opens an interactive command-line shell, which has root privileges for the user's account thanks to the updated sudoers file.

Από εκεί και πέρα μπορείτε να κάνετε ό, τι θέλετε, να τροποποιήσετε τα έγγραφα, να εγκαταστήσετε , να δημιουργήσετε νέους χρήστες ή ότι άλλο σκεφτείτε.

Η ευπάθεια υπάρχει στην τελευταία έκδοση του Yosemite, OS X 10.10.4, καθώς και στη beta έκδοση 10.10.5. Εάν κάνετε αναβάθμιση στο El beta (OS X 10.11), θα είστε ασφαλής καθώς η ευπάθεια δεν υπάρχει.

For a temporary solution to affected systems, download and install it SUIDGuard of Esser.

iGuRu.gr The Best Technology Site in Greecefgns

every publication, directly to your inbox

Join the 2.082 registrants.

Written by giorgos

George still wonders what he's doing here ...

Leave a reply

Your email address is not published. Required fields are mentioned with *

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).