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 4.3.6.1446 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.
Follow me on Twitter: @securityaffairs and Facebook
[adrotate banner=”9″] | [adrotate banner=”12″] |
(SecurityAffairs – hacking, SOHO)
[adrotate banner=”5″]
[adrotate banner=”13″]