Skip to content
Memory corruption Advisory Advanced CVE-2023-32155

(Pwn2Own) Tesla Model 3 bcmdhd Out-Of-Bounds Write Local Privilege Escalation Vulnerability

The bcmdhd Wi-Fi driver in Tesla Model 3 fails to validate user-supplied data, causing an out-of-bounds write. An attacker who can already run code on the Wi-Fi subsystem could exploit this to escalate privileges and execute arbitrary code in the kernel.

David Berard Follow

Originally disclosed on Zero Day Initiative

High 7.8 View original

This vulnerability allows local attackers to escalate privileges on affected Tesla Model 3 vehicles. An attacker must first obtain the ability to execute code on the wifi subsystem in order to exploit this vulnerability.

David BERARD (@_p0ly_) and Vincent DEHORS (@vdehors) from Synacktiv (@Synacktiv), on the Zero Day Initiative

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 Wi-Fi subsystem could escalate to kernel-level code execution, but only after first compromising the Wi-Fi chip.

What the attacker needed

Ability to execute code on the Wi-Fi subsystem

The fix

The vulnerability was fixed in the 2023.12 firmware release.

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 bug in a driver, which is software that lets the car's computer talk to hardware like the Wi-Fi chip. The driver does not check the size of some data properly, so it can write past the end of a memory buffer. If an attacker can already run code on the Wi-Fi chip, they can use this bug to take control of the car's main operating system.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by David Berard

View all

2 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.