Turning a boring file move into a privilege escalation on Mac
A script run by a setuid-root binary moved a user-controlled file into a directory chosen by the user via a symlink, allowing a low-privileged user to place a crafted file into /etc/sudoers.d. The attacker could then gain root privileges by injecting a sudoers rule that grants passwordless sudo.
Parallels