(0Day) (Pwn2Own) Alpine iLX-507 AVRCP Stack-based Buffer Overflow Remote Code Execution Vulnerability
The AVRCP protocol implementation in Alpine iLX-507 devices fails to validate the length of user-supplied data before copying it into a fixed-length stack buffer. A network-adjacent attacker who gets the target to connect to a malicious Bluetooth device could execute arbitrary code as root.
Originally disclosed on Zero Day Initiative
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Alpine iLX-507 devices. User interaction is required to exploit this vulnerability in that the target must connect to a malicious Bluetooth device.
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 stack-based buffer overflow caused by copying AVRCP-supplied data into a fixed-length buffer without checking its length first.
Impact
A network-adjacent attacker could execute arbitrary code with root privileges, but the target must first connect to a malicious Bluetooth device.
What the attacker needed
Target connects to malicious Bluetooth device; attacker within Bluetooth range
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 buffer overflow happens when a program copies more data into a fixed-size memory space than it can hold, so the extra data spills over into nearby memory. Here the car stereo's Bluetooth audio-control code does this, and an attacker nearby could use the spill to run their own commands with the highest privileges 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.