(Pwn2Own) ConnMan received_data Out-Of-Bounds Write Remote Code Execution Vulnerability
An out-of-bounds write in ConnMan's received_data method can be triggered by a crafted HTTP response, allowing a network-adjacent attacker to execute arbitrary code as the ConnMan process. The flaw was demonstrated on a Tesla Model 3 at Pwn2Own 2022.
Originally disclosed on Zero Day Initiative
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installation of ConnMan. 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 a missing bounds check when copying data from an HTTP response into a fixed-size buffer in the received_data method.
Impact
A network-adjacent attacker without authentication could execute arbitrary code in the context of the ConnMan process.
What the attacker needed
Network-adjacent access; no authentication required
The fix
The vulnerability was fixed by an update from ConnMan.
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.
ConnMan is software that manages network connections. A bug in how it handles incoming HTTP responses lets someone on the same network send a specially crafted message that overwrites memory, potentially letting them 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.