An exploit is now publicly available for a remote code execution vulnerability affecting QNAP network-attached storage (NAS) devices that run the Surveillance Station video management system.
The bug, specifically a memory corruption issue, was found to impact QNAP NAS devices running Surveillance Station versions 188.8.131.52.2 and 184.108.40.206.2, and was addressed in February this year.
Tracked as CVE-2020-2501, this security hole is a stack-based buffer overflow that could be abused by remote attackers to execute code on an affected system, without authentication.
In its advisory, QNAP credits an independent researcher for finding and reporting the flaw, but does not provide further details on the issue itself or on its exploitation.
This week, vulnerability hunting and disclosure company SSD Secure Disclosure published additional details on the vulnerability, as well as exploit code to demonstrate how attacks targeting it work.
According to SSD, the issue resides in the insecure use of user supplied data. An attacker could send a specially crafted HTTP request to a vulnerable QNAP NAS device, which would overflow an internal buffer that the Surveillance Station plugin uses, thus achieving arbitrary code execution.
QNAP patched the bug in February with the release of Surveillance Station version 220.127.116.11.3 for the 64-bit ARM CPU NAS and x86 CPU NAS, and version 18.104.22.168.3 for the 32-bit ARM CPU NAS and x86 CPU NAS.