Security researchers at SAM Seamless Network discovered a couple of critical unpatched flawsin QNAP small office/home office (SOHO) network-attached storage (NAS) devices that could allow remote attackers to execute arbitrary code on vulnerable devices.
The vulnerabilities affect QNAP TS-231 SOHO NAS devices running firmware version 184.108.40.2066 that reached end of life (EOL).
“These vulnerabilities are severe in nature as they allow for full takeover of device from the network including access to the user’s stored data, without any prior knowledge.” reads the advisory published by SAM Seamless Network.
The first vulnerability is an RCE issue that affects any QNAP device exposed to the Internet, it resides in the NAS web server (default TCP port 8080).
Experts focused their analysis on some cgi files, most of them are available through the web server at /mnt/HDA_ROOT/home/httpd/cgi-bin directory on the TS-231 file system.
“During the inspection, we fuzzed the web server with customized HTTP requests to different cgi pages, with focus on those that do not require prior authentication. We’ve been able to generate an interesting scenario, which triggers remote code execution indirectly (i.e., triggers some behavior in other processes).” continues the advisory.
Experts suggest to fix the issue by implementing input sanitizations to some core processes and library APIs, unfortunately the issue has yet to be fixed.
Below the timeline for this issue:
The second vulnerability is an arbitrary file write vulnerability that resides in the DLNA server (default TCP port 8200) which handles UPNP requests on this port. The vulnerability could be exploited by remote attackers to execute arbitrary code on a remote NAS device.
Below the timeline for this vulnerability:
If you want to receive the weekly Security Affairs Newsletter for free subscribe here.
(SecurityAffairs – hacking, SOHO)
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.