ZDI-25-261: (Pwn2Own) Tesla Model S oFono AT Command Heap-based Buffer Overflow Code Execution Vulnerability
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 modem in order to exploit this vulnerability. The specific flaw exists within the parsing of responses from AT commands. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the device.
Other sources
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 modem in order to exploit this vulnerability. The ZDI has assigned a CVSS rating of 7.8. The following CVEs are assigned: CVE-2024-6031.
— ZDI
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-25-261?
The severity of ZDI-25-261 is classified as critical due to its potential to allow local attackers to execute arbitrary code on affected Tesla Model S vehicles.
How do I fix ZDI-25-261?
To fix ZDI-25-261, Tesla owners should ensure their Model S firmware is updated to the latest version provided by Tesla that addresses this vulnerability.
Who is affected by ZDI-25-261?
ZDI-25-261 affects Tesla Model S vehicles with the specific firmware that contains the vulnerability in the modem's response parsing.
What kind of attacker can exploit ZDI-25-261?
ZDI-25-261 can be exploited by local attackers who have gained the ability to execute code on the target modem of the affected Tesla Model S.
What are the implications of ZDI-25-261?
The implications of ZDI-25-261 include potential unauthorized access to vehicle systems, leading to severe security and safety risks.