QNAP NAS MusicStation Directory Traversal Arbitrary File Creation Vulnerability
Vulnerability Details
This vulnerability allows network-adjacent attackers to create arbitrary files on affected installations of QNAP NAS. Authentication is not required to exploit this vulnerability.
The specific flaw exists within the MusicStation application. When parsing the arttype request parameter, the process does not properly validate a user-supplied path prior to using it in file operations.
An attacker can leverage this vulnerability to create files in the context of the admin user.
Additional Details
QNAP has issued an update to correct this vulnerability. More details can be found at:
https://www.qnap.com/zh-tw/security-advisory/qsa-21-08
Disclosure Timeline
- 2021-01-20 - Vulnerability reported to vendor
- 2021-05-14 - Coordinated public release of advisory
Credit
polict of Shielder