Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Remote Code Execution #687
By default, any application that writes untrusted data to the terminal without filtering for ANSI escape sequences is vulnerable to remote code execution when running under ConEmu. This is done by using the fact that ConEmu has a special OSC for executing programs
To mitigate this you can disable Injecting ConEmuHk and ensure your process isn't directly run by ConEmu. However this may not be desirable as you lose other functionality.
A possible change to deal with this could be to add an option that by default disables ConEmu OSC handling.
Even though ConEmu isn't really to blame, applications should be filtering untrusted data, in practice the default behavior is unsafe.