A security audit funded by Mozilla has led to the discovery of a critical remote command execution vulnerability in the popular iTerm2 macOS terminal emulator.
The audit was conducted by Radically Open Security as part of Mozilla’s Open Source Support program (MOSS), which aims to ensure that the open source ecosystem is “healthy and secure.” iTerm2 was selected for an audit due to its popularity and the fact that it processes untrusted data.
The identified vulnerability has been patched by iTerm2’s developer, George Nachman, with the release of version 3.3.6.
According to Mozilla, the flaw could impact over a hundred thousand users, including developers, system administrators and others that may be seen as a valuable target to threat actors.
The vulnerability, tracked as CVE-2019-9535, exists in the way iTerm2 integrates with tmux, a terminal multiplexer for Unix-like operating systems. An attacker who can provide malicious output to the terminal could remotely execute arbitrary commands with the privileges of the targeted user.
In the case of developers and system admins, the vulnerability can pose a serious risk considering that they often have elevated privileges and access to sensitive information.
Nachman explained that the flaw can be exploited using specially crafted files or malicious input. The CERT Coordination Center noted in an advisory that “potential attack vectors include connecting via SSH to a malicious server, using curl to fetch a malicious website, or using tail -f to follow a logfile containing some malicious content.”
Mozilla says the vulnerability appears to have been present in iTerm2 for at least 7 years. The organization has published a video showing an exploit in action.
“Typically this vulnerability would require some degree of user interaction or trickery; but because it can be exploited via commands generally considered safe there is a high degree of concern about the potential impact,” Mozilla’s Tom Ritter explained.
Related: Code Execution Vulnerability Impacts NSA Reverse Engineering Tool
Related: ProFTPD Vulnerability Can Expose Servers to Attacks

Eduard Kovacs (@EduardKovacs) is a contributing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.
More from Eduard Kovacs
- High-Severity Privilege Escalation Vulnerability Patched in VMware Workstation
- GoAnywhere MFT Users Warned of Zero-Day Exploit
- UK Car Retailer Arnold Clark Hit by Ransomware
- EV Charging Management System Vulnerabilities Allow Disruption, Energy Theft
- Unpatched Econolite Traffic Controller Vulnerabilities Allow Remote Hacking
- Google Fi Data Breach Reportedly Led to SIM Swapping
- Microsoft’s Verified Publisher Status Abused in Email Theft Campaign
- British Retailer JD Sports Discloses Data Breach Affecting 10 Million Customers
Latest News
- Fraudulent “CryptoRom” Apps Slip Through Apple and Google App Store Review Process
- US Downs Chinese Balloon Off Carolina Coast
- Microsoft: Iran Unit Behind Charlie Hebdo Hack-and-Leak Op
- Feds Say Cyberattack Caused Suicide Helpline’s Outage
- Big China Spy Balloon Moving East Over US, Pentagon Says
- Former Ubiquiti Employee Who Posed as Hacker Pleads Guilty
- Cyber Insights 2023: Venture Capital
- Atlassian Warns of Critical Jira Service Management Vulnerability
