CVE-2018-19945 Improper Limitation of a Pathname to a Restricted Directory in QTS

Critical 9.1 Published Updated

Attackers can rename arbitrary files on QNAP devices running QTS due to improper pathname restrictions, requiring an upgrade to patched firmware versions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2018-19945?

CVE-2018-19945 is a critical path traversal vulnerability in Qnap Qts, published on 31 Dec 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability has been reported to affect earlier QNAP devices running QTS 4.3.4 to 4.3.6. Caused by improper limitations of a pathname to a restricted directory, this vulnerability allows for renaming arbitrary files on the target system, if exploited. QNAP have already fixed this vulnerability in the following versions: QTS 4.3.6.0895 build 20190328 (and later) QTS 4.3.4.0899 build 20190322 (and later) This issue does not affect QTS 4.4.x or QTS 4.5.x.

Weakness: CWE-73, CWE-22, CWE-284, CWE-20

Which versions are affected by CVE-2018-19945?

It affects 1 product.

Products include Qnap Qts.

How do I fix CVE-2018-19945?

No fix has been published for CVE-2018-19945 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2018-19945 being exploited?

There is no known exploitation of CVE-2018-19945 in the wild and no public exploit code.

All Qnap Qts vulnerabilities

Sources

Also known as GHSA-xc2v-fcxv-wj59.

Is CVE-2018-19945 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free