QNAP MusicStation/MalwareRemover Pre-Auth Remote Code Execution
QNAP MusicStation and MalwareRemover apps contained an arbitrary file upload and a command injection flaw, allowing an unauthenticated attacker to execute commands as root on the NAS.
shielder.com
Published on shielder.com
QNAP MusicStation and MalwareRemover official apps are affected by an arbitrary file upload and a command injection vulnerabilities, leading to pre-auth remote root command execution.
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 write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely an unauthenticated file upload endpoint in MusicStation combined with unsafe handling of uploaded content that later reaches a command execution path in MalwareRemover.
Impact
An unauthenticated attacker could run commands as root on the NAS, potentially compromising the device and data on it.
What the attacker needed
Network access to the NAS web interface; MusicStation and MalwareRemover installed
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 write-up has not been written yet. The Original tab links to the source.
A network storage device (NAS) runs small web apps. Two of these apps let someone who has not logged in upload a file and then trick the device into running commands with the highest privileges, so the whole device can be taken over.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.