(Pwn2Own) Kenwood DNR1007XR Firmware Update Link Following Code Execution Vulnerability
The firmware update process on Kenwood DNR1007XR devices follows symbolic links, allowing a physically present attacker to move a file to an arbitrary location. This can be leveraged 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 firmware update process does not properly validate or resolve symbolic links before moving files, allowing an attacker to redirect file operations to arbitrary locations.
Impact
An attacker with physical access could execute arbitrary code with root privileges on the device.
What the attacker needed
Physical access to the device
The fix
The vendor 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.
A symbolic link is a shortcut that points to another file. The device's update process trusts these shortcuts and can be tricked into moving a file to a place it should not go, which then lets an attacker run their own code with full control.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.