Skip to content

Write-ups

iTerm2

Every publicly disclosed report for iTerm2 and what kind of bugs they were.

disclosed reports
2
most reported class
RCE
bug classes found
1

Disclosed reports

Newest first. Only what iTerm2 chose to make public.

RCE

Abusing title reporting and tmux integration in iTerm2 for code execution

A regression in iTerm2 3.5.0 and 3.5.1 re-enabled window title reporting, so an escape sequence could place the window title into stdin. Combined with a weakness in native tmux integration, an attacker could get arbitrary code from the title to run when the user pressed Enter.

iTerm2

RCE

From Terminal Output to Arbitrary Remote Code Execution

iTerm2 terminal emulator injects linefeeds into stdin when handling certain escape sequences (tmux integration and request upload), allowing an attacker who can print to the terminal to execute arbitrary commands. The author demonstrates a self-contained exploit that uses escape sequences to manipulate the shell command line and run a command via m4.

iTerm2