You can achieve admin on an OS X machine by adding a new one like so:
1. Enter single user mode via cmd + s during startup.
2. Mount the hard drive via /sbin/mount/ -uw /
3. Delete the setupdone check via rm /var/db/.applesetupdone
4. Reboot, and now you are presented with the wizard for adding a new admin account.
Create a batch file with the content:
net localgroup administrators NewUser /add
...then stick this into the 'StartUp' directory for All Users. Break something. Call support. They log in as Administrator, running your batch file in the process.
NewUser would be created with Admin rights. You wouldn't promote your own login, of course.
This exploit you could even pull off on a school lab computer while the teacher is in the room. If he comes over while you're working, inconspicuously power off the machine.
That's like saying, "Car door was open, therefore not theft."
You can't stop a guy who knows what he's doing, but you can stop Josie from the next desk snooping around in HR's file. Also, it causes a breach, which depending on where you live might be needed to show intent.
Also, some people may feel like changing your wallpaper to something inappropriate, but they may not be motivated enough to hack your pc.
most people would open your door if there was no lock on it. Eventhough it's useless.
This is less common NOW, but back in the Android 2.xx days it was the defacto way of getting root.
> Do you really think that startup repair mode is required to swap the position of cmd.exe and sethc.exe?
A Live CD/DVD would work just as well. As would a USB-based OS. You could also (although it would require more work) use network boot to run your own code.
There's no vulnerability, this is unfixable, you just have to secure the system using full disk encryption and secure boot.