(Pwn2Own) Synology BeeStation BST150-4T Improper Input Validation Remote Code Execution Vulnerability
The device mishandles tar archives, allowing a crafted archive to create symlinks to arbitrary files. An attacker could combine this with other flaws to execute code as root.
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Synology BeeStation BST150-4T 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 tar extraction routine does not validate symlink targets, allowing links to arbitrary files.
Impact
A network-adjacent attacker without authentication could use this to create symlinks to arbitrary files and, in combination with other vulnerabilities, execute code as root.
What the attacker needed
Network-adjacent access; crafted tar archive; another vulnerability to chain
The fix
Synology 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 tar archive is a file that bundles other files together, like a zip. The device did not check what was inside the archive properly, so someone could make it create shortcuts (symlinks) pointing to important system files. That alone is not code execution, but it could be used with another bug to run harmful commands with the highest permissions.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.