Description
An unauthenticated command injection vulnerability exists in Serviio Media Server versions 1.4 through 1.8 on Windows, in the /rest/action API endpoint exposed by the console component (default port 23423). The checkStreamUrl method accepts a VIDEO parameter that is passed unsanitized to a call to cmd.exe, enabling arbitrary command execution under the privileges of the web server. No authentication is required to exploit this issue, as the REST API is exposed by default and lacks access controls.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Serviio | Media Server | 1.4 – ≤ 1.8 | — |
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
-
Serviio Media Server checkStreamUrl Command Execution
exploit/windows/http/serviio_checkstreamurl_cmd_exec
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- https://www.zeroscience.mk/en/vulnerabilities/ZSL-2017-5408.php third-party-advisory exploit
- https://packetstorm.news/files/id/142387 exploit
- https://fortiguard.fortinet.com/encyclopedia/ips/44042 third-party-advisory
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/http/serviio_checkstreamurl_cmd_exec.rb exploit
- https://vulncheck.com/advisories/serviio-media-server-unauthenticated-command-injection third-party-advisory
- https://www.exploit-db.com/exploits/42023 exploit