(Pwn2Own) Sony XAV-AX8500 Bluetooth SDP Protocol Integer Overflow Remote Code Execution Vulnerability
The Bluetooth SDP protocol implementation in Sony XAV-AX8500 devices fails to properly validate user-supplied data, causing an integer overflow before a buffer is allocated. A network-adjacent attacker could exploit this to execute arbitrary code as root without authentication.
Originally disclosed on Zero Day Initiative
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Sony XAV-AX8500 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 SDP message handler calculated a buffer size from an attacker-controlled length field without checking for integer overflow, so a small allocation was made for a larger copy.
Impact
A network-adjacent attacker without authentication could execute arbitrary code as root on the affected device.
What the attacker needed
Attacker within Bluetooth range; no authentication needed
The fix
Sony issued an 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.
Bluetooth devices talk to each other using a set of rules called protocols, and SDP is one of them, used to describe what services a device offers. Here, the car stereo trusted a number sent by a nearby device when deciding how much memory to set aside, and a wrong number made it reserve too little. That let an attacker nearby write past the end of that memory and 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.