(Pwn2Own) Sony XAV-AX8500 Bluetooth Packet Handling Integer Overflow Remote Code Execution Vulnerability
Bluetooth packet handling in the Sony XAV-AX8500 lacks proper validation of user-supplied data, which can cause an integer overflow before a write to memory. A network-adjacent attacker who can pair a malicious Bluetooth device could use this to execute code in the context of the elysian-bt-service process.
Originally disclosed on Zero Day Initiative
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected Sony XAV-AX8500 devices. An attacker must first obtain the ability to pair a malicious Bluetooth device with the target system in order 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 Bluetooth packet parser trusts a length or size field from the incoming packet without validating it, so the arithmetic overflows and the subsequent memory write goes out of bounds.
Impact
A network-adjacent attacker who can pair a malicious Bluetooth device could execute arbitrary code as the elysian-bt-service process on the affected device.
What the attacker needed
Attacker within Bluetooth range; ability to pair a malicious Bluetooth device
The fix
Sony issued an update that corrects 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.
A car stereo accepts Bluetooth packets from paired devices. It does not check the size numbers inside those packets properly, so a crafted packet can make the device write data past the end of a memory buffer. An attacker nearby who can get their own Bluetooth device paired could then run their own code on the stereo.
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.