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.
Problem types
CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Product status
*
*
Credits
Michael Messner
References
raw.githubusercontent.com/...sonic_nas_ib5220_exec_noauth.rb
www.exploit-db.com/exploits/24499
www.exploit-db.com/exploits/28508
web.archive.org/...4425/http://www.s3cur1ty.de/m1adv2013-010
raw.githubusercontent.com/...sonic_nas_ib5220_exec_noauth.rb
www.exploit-db.com/exploits/24499
www.exploit-db.com/exploits/28508
web.archive.org/...4425/http://www.s3cur1ty.de/m1adv2013-010
www.vulncheck.com/...sories/raidsonic-nas-devices-unauth-rce