CVE-2021-28799: QNAP NAS Improper Authorization Vulnerability
QNAP NAS running HBS 3 contains an improper authorization vulnerability which can allow remote attackers to log in to a device.
CVE-2021-28799 is an improper authorization vulnerability in QNAP Network Attached Storage (NAS) devices running HBS 3. It can allow remote attackers to log in to a device. This matters because NAS systems often hold shared files, backups, and business data; successful abuse has been tied to ransomware activity, so unpatched systems present a direct path to unauthorized access and potential encryption or theft of stored content.
IT and security teams should treat this as a high-priority review item for any QNAP NAS estate. Confirm exact product details, fixed builds, and deployment guidance against the vendor advisory before acting.
How it works
The weakness is classified as CWE-285 (Improper Authorization). In this class of flaw, the application fails to enforce correct permission or identity checks before granting access to a protected function or interface. According to the available summary, QNAP NAS systems running HBS 3 contain an improper authorization issue that can let remote attackers log in to the device.
An attacker who can reach the affected service over the network may bypass or circumvent normal authorization controls and obtain a login session. Once authenticated in this manner, the attacker could interact with the device under the privileges of that session. Specific exploit mechanics, required preconditions, and exact attack sequences are not detailed here; teams must consult the vendor advisory for precise technical description and any proof-of-concept or detection guidance the vendor has published.
Am I affected? How to find it in your systems
QNAP NAS appliances are commonly deployed as file servers, backup targets, media repositories, or departmental storage on internal networks and, in some cases, with remote-access features enabled. HBS 3 (Hybrid Backup Sync) is the component named in the vulnerability summary.
Inventory steps:
- Enumerate all QNAP NAS devices via asset management, network discovery (SMB/NFS/AFP/web admin ports), or configuration-management databases.
- Log into each device’s administration interface or use supported CLI/API methods to identify whether HBS 3 is installed and running, and to record the current firmware and application versions.
- Compare those versions against the fixed versions listed in the QNAP advisory for CVE-2021-28799; do not rely on version guesses.
- Note any devices exposed to untrusted networks or the internet, especially those with remote login, cloud sync, or backup services enabled.
Telemetry and log signs of possible exploitation are general for unauthorized-login issues: unexpected successful authentication events, new or unfamiliar user sessions, configuration changes, or sudden backup/sync job modifications. Review device logs, authentication logs, and any central SIEM feeds for anomalies around the time of public disclosure or known exploitation campaigns. Confirm indicator details with the vendor advisory and your own baseline.
How to remediate
Patch first. Apply the updates published by QNAP for this vulnerability exactly as described in the vendor advisory. CISA’s required action is to apply updates per vendor instructions. After updating, verify that HBS 3 and the system firmware report the remediated versions and that the service restarts cleanly.
Additional hardening appropriate to this weakness and product class:
- Restrict administrative and backup-service interfaces to trusted management networks only.
- Enforce strong, unique credentials and, where supported, multi-factor authentication for all accounts that can reach the NAS.
- Disable or uninstall HBS 3 if the feature is not required.
- Review and minimize accounts, shares, and remote-access methods (including any cloud or WAN exposure).
- Ensure regular, tested offline or immutable backups exist so that ransomware impact can be recovered from without paying.
If you can't patch immediately
Implement compensating controls until the vendor update can be applied:
- Network segmentation: place the NAS behind firewalls or VLANs that allow access only from explicitly authorized subnets and management jump hosts; block inbound access from the internet.
- Disable the affected component: if HBS 3 can be turned off or uninstalled without breaking critical operations, do so until a patched version is installed.
- Virtual patching / reverse-proxy controls: if a web application firewall or reverse proxy sits in front of the device, apply vendor- or community-supplied rules that restrict the vulnerable login paths, while recognizing that such rules are incomplete substitutes for the official fix.
- Heightened monitoring: increase logging verbosity for authentication and HBS-related events, forward logs to a SIEM, and alert on successful logins from unexpected sources, new account creation, or mass file modifications typical of ransomware.
- Credential hygiene: rotate passwords for all NAS accounts and revoke any unused or shared credentials.
These measures reduce exposure but do not eliminate the vulnerability; schedule patching as soon as possible.
If your data may have been exposed
Actively exploited vulnerabilities, including those with known ransomware use, frequently lead to data theft or encryption. If you discover evidence of compromise or unauthorized login on a QNAP NAS, isolate the device, preserve logs, and begin incident-response procedures—including offline restoration from clean backups and notification obligations as required by your policies and regulations. As a further check, you can run a free exposure scan of your email addresses against known breach data sets to see whether associated credentials or personal information have appeared in prior incidents.
AICompiled with AI assistance from public sources and published under our editorial standards.