Re:Remote Code Execution in OpenSSH’s forwarded SSH-agent
by Arnavion on Thursday July 20, 2023 @11:22AM
(#36801851)
Read carefully.
>I was searching for a bug in ANSI characters that respond to a change of the window’s title. One of the things I did was check how the previous bugs were exploited. One of them, CVE-2015-8971 (found by Nicolas Braud-Santoni), was a bug in Terminology 0.7.0 that didn’t filter new line (\n) escape character when changing the window title. It allowed you to modify the window title and then re-insert it into the terminal’s input buffer, resulting in arbitrary terminal input, which then caused code execution.
Re:Remote Code Execution in OpenSSH’s forwarded SSH-agent
by gunapologist99 on Thursday July 20, 2023 @12:37PM
(#36803071)
Vulnerability in your terminal app, not in SSH, but point taken, there is always that possibility.
As the article describes most Windows terminal emulators just call SetWindowText when they get the set window title escape code. For some reason Windows implements that function very inefficiently so if it ends up being called in a tight loop your computer can freeze.