some software uses sockets instead but still has no access controls. on unix-lik...

@mia@movsw.0x0.st

some software uses sockets instead but still has no access controls. on unix-like systems, the sockets are often placed in /tmp, which additionally exposes the attack surface to other users on systems without private /tmp

for example, if an mpv frontend has a single-instance feature and accepts commands (for example, to append to the playlist), it may inadvertently expose the
run and subprocess commands as well. this is the case with e.g. smplayer

a more common variant is proprietary windows driver software that uses a local http server to allow remote control via unprivileged processes or webshit. many of those had local and remote command execution vulnerabilities (with
SYSTEM privs no less) because they failed to authenticate requests, and others installed TLS certificates into the system trust store that eventually had their private keys leaked.


the moral of the story is that in current year none of the major desktop operating systems provide good authenticated IPC (or RPC), which results in crude hacks like this

RE: https://movsw.0x0.st/notes/ankb1owjepyldt85