macnn

01/25/2008, 5:50pm, EST

Friday, January 25th

Tiger, Leopard flaw an "enhancement"?

Similar to the Office 2008-related permissions problem reported earlier today, Mac OS X 10.4 Tiger and 10.5 Leopard users may be susceptible to additional vulnerabilities. MacNN reader Robert Myers reports that when using a standard user account to copy software in to the Applications folder, the authentication that takes place not only allows the software to be inserted in to the folder (as it should) but also changes the owner of the application to the current user.

Myers says that this could compromise a user's system integrity, by allowing malicious users access to otherwise protected personal data. He has mentioned that attempting to fix permissions through the user interface yields no results, but rather that a lengthy line-level Terminal procedure is involved to correct the problem.

Apple has been notified of the matter, but has allegedly deemed the issue to be an "enhancement" to operational features.


Filed under: security, hacks, Apple
Other story tags: Leopard, Tiger, permissions, flaw

, , 20comments, del.icio.us, slashdot, digg, buzz


20 comments
Reader Reactions (Please use <i></i> for italic text)

subscribe to comments
for this article




Expand All   Global Settings
What?
0
01/25, 6:49pm, EST
Does anyone even know what this means? I understand permissions but come on... Do you really understand this well enough to say "Hey Fuck you Apple. You're doing it wrong" Not me.
Forum Regular
Joined Sep 2001
User is offline
peter753
0
01/25, 6:59pm, EST
Basically, permissions are in place to: 1. protect inexperienced users from themselves, and 2. to protect Mac OS X from unauthorized access.

Mr. Meyers is implying that by installing an application in this fashion could basically be a proverbial hole under the razor-wire fence should a malicious user attempt to access your system through an internet-aware application.
Fresh-Faced Recruit
Joined Nov 2007
User is offline
Social engineering
0
01/25, 8:11pm, EST
The user still has to authenticate, so unless the malicious user knew the admin password or could coerce an admin user into entering the password, he/she could not install the app.
Mac Enthusiast
Joined Sep 2001
User is offline
Disinformated again!
0
01/25, 8:32pm, EST
Not only would a regular user have to know an admin's password to copy into the Applications directory, the ownership & permissions CAN be changed easily through the user interface, AND the command-line is hardly "lengthy" -- sudo chown -R [admin] /Applications/[TargetAppDirectory]. Is MACNN so hard up for news they have to publish ill-informed "reports"? They themselves should have known this was incorrect!
Fresh-Faced Recruit
Joined Jan 2002
User is offline
Pointless
0
01/25, 8:33pm, EST
Said standard user would still need an admin username and password to put it in the Applications folder in the first place. If they've got that, they've got root power, and this whole thing is moot.

As to why it sets ownership to the user of the user who authenticated (and not the user they are authenticating as), well, that's just how sudo works. (The authentication box is a graphical representation of the sudo process.)
Fresh-Faced Recruit
Joined Oct 2003
User is offline
are they sure?
0
01/25, 8:47pm, EST
Regardless of the owner of the executable, the uid of the process will be that of the account that starts it, not of the program, so it will have no more rights then the account does. The exception being if the setuid bit is set, but that would be a really stupid thing to do for any application.

most of you don't get it
0
01/26, 3:12am, EST
User 'bob' copies Bla app to Applications folder. bob is asked for admin credentials, and Bla is copied.

Now Bla is actually a directory Bla.app and inside that directory is Contents/MacOS/bla - the binary executable.

And this bla executable is owned by bob.

So a bit of malware downloaded by bob that knows about Bla can replace it with something else without having to authenticate.

Now, switch Bla for Firefox or NetNewsWire, or something else that a lot of people use all the time and you see why it might be an issue.

Sure, the replaced bla is still run as Bob, but lots damage can be done without authenticating, such as recording keystrokes, sending information to the 'net, wiping out your home directory, etc.

A big deal? Probably not. You could probably do more damage by putting up a bogus hint on macosxhints.com - so many sheep out that there that blindly do as they're told.
Fresh-Faced Recruit
Joined Jun 2005
User is offline
Got it in 1 Adrian
0
01/26, 9:51am, EST
Adrian, you are exactly right.

These flaws, in and of themselves, are relatively minor. They are however, a foothold into the compromise of the system. Either other downloaded malware, or just a flaw in something else that lets you overwrite arbitrary files.

These issues raise a couple of concerns.

1) These are rookie mistakes in Finder, much like the "delete file even if copy unsuccessful" bug that was recently found . What else lurks in Finder and other Apple provided apps?

2) Apple tried to downplay it. Their record with security is, quite frankly, abysmal. See all the repeated issues with Quicktime (Windows and Mac), as well as the flaw that remained in Apple's Java distribution many months after Sun fixed it. Frequent and loud noise is the only thing that will change them
Fresh-Faced Recruit
Joined Jan 2008
User is offline
Their record
0
01/26, 10:36am, EST
"Their record with security is, quite frankly, abysmal."

Users' experience with the platform's security is quite the opposite. More FUD peddling as usual. Humbug.
Fresh-Faced Recruit
Joined Oct 2005
User is offline
Hmm..
0
01/26, 11:01am, EST
personally, I don't (and don't see why a user should be) installing apps in /Applications. All the apps I download go in ~/Applications instead. If I can't install an app to there, unless I *know* it's a valid app, I don't install it. Apps which insist on being installed in /Applications I'm generally very suspicious of.

Jon

Fresh-Faced Recruit
Joined Nov 2003
User is offline
additional comments:..1..2..Next
Your Comments

In order to post comments: If you are a registered member, please login with your MacNN Forums username and password otherwise please uncheck the checkbox below.


Registered Member?
macnn forums login:

macnn forums password:

Not a member of the MacNN forums? Register now for free.

RSS Feeds

Have the latest content delivered to your desktop via RSS. Use the links below to get access to a specific blog, news, or reviews feed.



  MacNN -all

  MacNN Reviews

  MacNN Podcasts

  iPodNN

  Electronista

  Left Lane News

Check Out the VIERA from Panasonic!: Enter a New Visual Era with Panasonic VIERA HDTVs. An Enhanced Experience.

IT Education and Training at University of Phoenix®: View our complete list of Information Technology Courses and Programs. Official Site.

Get an IT Degree Online: Get solid credentials. Take your hobby to the next level. Adult Programs. Affordable.

Process Rebates From Home: Earn Extra Income, Be Your Own Boss Make $225 And More Every Day.

Restaurant Food Processor: Everything for an Experts Kitchen Serving the Chicagoland Area.

Buy from The Apple Store, iTunes.com, Amazon.com, TechDepot, OfficeDepot, Computers4Sure, or donate.