Description
An OS command injection vulnerability exists in multiple Raidsonic NAS devices—specifically tested on IB-NAS5220 and IB-NAS4220—via the unauthenticated timeHandler.cgi endpoint exposed through the web interface. The CGI script fails to properly sanitize user-supplied input in the timeZone parameter of a POST request, allowing remote attackers to inject arbitrary shell commands.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Raidsonic Technology | IB-NAS5220 | — | — |
| Raidsonic Technology | IB-NAS4220 | — | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Raidsonic NAS Devices Unauthenticated Remote Command Execution
exploit/linux/http/raidsonic_nas_ib5220_exec_noauth
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/raidsonic_nas_ib5220_exec_noauth.rb exploit
- https://www.exploit-db.com/exploits/24499 exploit
- https://www.exploit-db.com/exploits/28508 exploit
- https://web.archive.org/web/20160616174425/http://www.s3cur1ty.de/m1adv2013-010 technical-description exploit
- https://www.vulncheck.com/advisories/raidsonic-nas-devices-unauth-rce third-party-advisory