(Pwn2Own) Kenwood DNR1007XR tchdr_bytestream_read Out-Of-Bounds Write Code Execution Vulnerability
The tchdr_bytestream_read function in Kenwood DNR1007XR devices fails to validate user-supplied data, allowing a write past the end of an allocated buffer. A physically present attacker could exploit this to execute code as root.
Originally disclosed on Zero Day Initiative
This vulnerability allows physically present attackers to execute arbitrary code on affected installations of Kenwood DNR1007XR 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 tchdr_bytestream_read function copies data into a fixed-size buffer without checking the length of the input first.
Impact
A physically present attacker could execute arbitrary code in the context of root; no authentication is required.
What the attacker needed
Physical access to the device
The fix
The vendor issued a firmware update to correct the vulnerability.
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 memory safety bug in a car stereo head unit. A buffer is a fixed-size area of memory; when the program copies in more data than it checked for, it writes past the end and can corrupt nearby memory. Someone with physical access to the device could use that to run their own code with the highest privileges.
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.