MHN
Add a comment on Hacker News →
1 of 261 comments
  1. Nice write-up.

    > Screen offers a multi-user mode which allows to attach to Screen
    sessions owned by other users in the system (given the proper
    credentials). These multi-user features are only available when Screen
    is installed with the setuid-root bit set. This configuration of Screen
    results in highly increased attack surface, because of the complex
    Screen code that runs with root privileges in this case

    I wasn't aware of such a feature but I guess it's what makes stuff like tmate possible. Speaking of which, I wonder if tmux is affected by the same kind of vulnerability.