4 ms·
Not really. There's no privilege escalation. You can only change user's password if you're already logged-in as user. That's bad, but it's only going to happen
by scott_s 15y ago
Not really. There's no privilege escalation. You can only change user's password if you're already logged-in as user. That's bad, but it's only going to happen if you literally walk away from a terminal and someone else sits down.
- jessedhillon 15y agoOr run a malicious script?
- scott_s 15y agoThere are far more damaging "malicious scripts" one could trick someone into running, such as "cd; rm -rf *". Like I said, it's not good, but it's not what I would call a "security hole" because there is no escalation of privilege. I like Raymond Chen's take on the topic: http://blogs.msdn.com/b/oldnewthing/archive/2006/05/08/592350.aspx http://blogs.msdn.com/b/oldnewthing/archive/2006/05/08/59235...
- bigiain 15y ago"Like I said, it's not good, but it's not what I would call a "security hole" because there is no escalation of privilege." Doesn't the end of the article suggest that without admin access, you could just reset the password for any admin user, then be able to log in as them? Sounds like priv escalation to me. Edit: Actually, reading further comments, it seems you can only reset the password of the currently logged in user without reauthentication, so you can only get admin privs if you've already got a console with admin privs. I'm wrong.
- hmottestad 15y agoActually. Any application can do this and use the new password to become super-user. Really useful for a virus I reckon.
- hackermom 15y agoExactly how can it use the new password to become super-user? You can't assume that everyone runs only the default admin user on their OS X system.
- keeperofdakeys 15y agoThe file includes all password hashes, including root. So crack that, then you have superuser.
- ryannielsen 15y agoBy default, Mac OS X disables the root user: http://support.apple.com/kb/ht1528 http://support.apple.com/kb/ht1528 That said, reset or crack any admin's password and you can go to town with sudo.
- hmottestad 15y agoDefault user can use sudo with it's password. That's all you really need.
- jfriedly 15y agoIf sudo works the same way on Mac's as it does on Linux, then anyone in the sudoers file could give a rogue application root access.
- deleted 15y ago[deleted]