(Pwn2Own) Sony XAV-9500ES Crash Dump Handler Command Injection Local Privilege Escalation Vulnerability
A local privilege escalation flaw in the Sony XAV-9500ES crash dump handler allows an attacker with low-privileged code execution to run arbitrary commands as root. The issue stems from improper validation of a user-supplied string before it is used in a system call.
Originally disclosed on Zero Day Initiative
This vulnerability allows local attackers to escalate privileges on affected installations of Sony XAV-9500ES devices. An attacker must first obtain the ability to execute low-privileged code on 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 crash dump handler passes a user-controlled string to a system call without proper validation, allowing command injection.
Impact
An attacker with low-privileged code execution could escalate to root and execute arbitrary code.
What the attacker needed
Ability to execute low-privileged code
The fix
Sony has issued an update to correct this 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 local privilege escalation bug in a car infotainment device. An attacker who can already run some code on the device can trick a crash dump handler into running commands with the highest permissions (root), taking full control. The handler fails to check the input it passes to a system command.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.