(Pwn2Own) Tesla Model S Iris Modem ql_atfwd Command Injection Code Execution Vulnerability
The ql_atfwd process on the Tesla Model S Iris modem fails to validate a user-supplied string before using it in a system call, allowing an attacker who already has code execution on the target to run commands as root on the modem.
Originally disclosed on Zero Day Initiative
This vulnerability allows local attackers to execute arbitrary code on affected Tesla Model S vehicles. An attacker must first obtain the ability to execute code on the target system in order to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
An attacker with existing code execution on the modem could execute arbitrary commands as root, but the report does not describe how the initial code execution is obtained.
What the attacker needed
Ability to execute code on the target system
The fix
The vulnerability was fixed in firmware version 2024.8.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
This is a command injection bug: a program takes input from a user and passes it to a system command without checking it, so an attacker can sneak in extra commands. Here, the attacker must already be able to run code on the car's modem, so it is a way to escalate to the highest privilege level (root) rather than an initial entry point.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.