Tesla bcmdhd Buffer Overflow Privilege Escalation Vulnerability
October 7th, 2022
Vulnerability Details
This vulnerability allows local attackers to escalate privileges on affected Tesla vehicles. An attacker must first obtain the ability to execute privileged code on the target system in order to exploit this vulnerability.
The specific flaw exists within the bcmdhd driver. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a buffer. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of root.
Additional Details
Fixed in Tesla’s 2022.28 release.
Disclosure Timeline
- 2022-05-24 - Vulnerability reported to vendor
- 2022-10-07 - Coordinated public release of advisory
Credit
Vincent DEHORS of @Synacktiv