CVE-2024-21897 QTS, QuTS hero

High 8.9 Published Updated

Authenticated users can inject malicious code via network in QNAP QTS and QuTS hero operating systems, potentially leading to code execution or account takeover.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-21897?

CVE-2024-21897 is a high-severity cross-site scripting vulnerability in Qnap Qts, published on 6 Sep 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

A cross-site scripting (XSS) vulnerability has been reported to affect several QNAP operating system versions. If exploited, the vulnerability could allow authenticated users to inject malicious code via a network.

We have already fixed the vulnerability in the following versions: QTS 5.1.6.2722 build 20240402 and later QuTS hero h5.1.6.2734 build 20240414 and later

Weakness: CWE-79

Which versions are affected by CVE-2024-21897?

It affects 2 products.

Products include Qnap Qts, Qnap Quts Hero.

How do I fix CVE-2024-21897?

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

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2024-21897 being exploited?

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

All Qnap Qts vulnerabilities

Sources

Also known as GHSA-6gf3-qc4m-f686.

Is CVE-2024-21897 in your software?

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

Check your SBOMs for free