Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > Finder Authentication, Root Security Issue

Finder Authentication, Root Security Issue
Thread Tools
mcsjgs
Mac Enthusiast
Join Date: May 2000
Location: Collie-fornya
Status: Offline
Reply With Quote
Nov 24, 2003, 05:01 PM
 
Finder authentication in Mac OS X 10.3 circumvents root file permissions

Date: 2003-11-24

Security-Corporation ID : SC-0783
URL : http://www.security-corporation.com/...31124-001.html
Author : Santino Rizzo <[email protected]>
Product : Mac OS X 10.3
Source Message Contents :

Vendor: Apple Computer
Target: Finder authentication in Mac OS X 10.3

If a user in the admin group tries to write to the /System/Library
directory, which has owner permissions of root:wheel and file
permissions of 755, they are presented with an authentication dialog
from the Finder. Upon authenticating as an admin they are given full
access to the directory, circumventing the root permissions. This
occurs even if the admin group is removed from the sudoers list.

The Finder is authenticating using the /etc/authorization control list.
The authorization right it is looking for is
'com.apple.desktopservices'. This right is not in the list so it is
falling back to the 'default' rule which allows any admin to be
authorized thus gaining write access even though the admin group does
not have write permissions and even if admin is not allowed to sudo.
If the "Go To Folder.." command is used, the admin user can gain write
access to any directory on the system including /private which belongs
to root.
Suicide Bombers: That never-say-die spirit. No, that's not right.
     
Angus_D
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Nov 24, 2003, 06:47 PM
 
This isn't really an issue. Admin users are effectively root. sudo isn't the only way to perform privileged operations. Out of the box, authorization.right.execute is set to admins. If you want to tighten the security, feel free to modify the rights database, which would "fix" this for you.
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 02:38 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,