(Pwn2Own) Tesla Wall Connector Content-Length Header Improper Input Validation Remote Code Execution Vulnerability
The Tesla Wall Connector does not properly validate the HTTP Content-Length header, which can lead to memory access past the end of an allocated buffer. A network-adjacent attacker without authentication could use this to execute code on the device.
Originally disclosed on Zero Day Initiative
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Tesla Wall Connector devices. Authentication is not required 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
Root cause
Likely the HTTP Content-Length header value is used without bounds checking, so a malformed length causes an out-of-bounds memory read.
Impact
A network-adjacent attacker without authentication could execute arbitrary code in the context of the device.
What the attacker needed
Network-adjacent access to the device; no authentication needed
The fix
It was fixed in firmware version 24.44.3.
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.
A device that talks over the network reads a small piece of information called a header, which tells it how much data to expect. This device trusted that number without checking it, so a crafted request could make it read past the end of its memory. That kind of mistake can let an attacker run their own code on the device.
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.