Skip to content
Path traversal Advisory Intermediate CVE-2020-36197

QNAP NAS MusicStation Directory Traversal Arbitrary File Creation Vulnerability

The MusicStation application on QNAP NAS did not properly validate a user-supplied path taken from the arttype request parameter before using it in file operations. An unauthenticated, network-adjacent attacker could therefore create arbitrary files with the privileges of the admin user.

polict Follow

Originally disclosed on Zero Day Initiative

High 7.1 View original

This vulnerability allows network-adjacent attackers to create arbitrary files on affected installations of QNAP NAS. Authentication is not required to exploit this vulnerability.

polict of Shielder, on the Zero Day Initiative

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 arttype request parameter was passed into file operations without validating or restricting the supplied path.

Impact

An unauthenticated attacker who is network-adjacent could create arbitrary files on the device in the context of the admin user.

What the attacker needed

Network-adjacent access to the NAS; no authentication needed

The fix

QNAP issued an update to correct the 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 path traversal bug happens when a program takes a file location from the user and uses it without checking it, so the user can point it somewhere it should not go. Here the MusicStation app on a QNAP storage device did this with a request parameter, letting someone on the same network create files as the admin user without logging in.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More by polict

View all

1 more disclosed report, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.