OS Command Injection in Shadowsocks-libev and Debian Linux - CVE-2017-15924
Published: October 27, 2017 / Updated: August 8, 2020
Debian
Shadowsocks-libev
Debian Linux
Detailed vulnerability description
The vulnerability allows a local authenticated user to execute arbitrary code.
In manager.c in ss-manager in shadowsocks-libev 3.1.0, improper parsing allows command injection via shell metacharacters in a JSON configuration request received via 127.0.0.1 UDP traffic, related to the add_server, build_config, and construct_command_line functions.
How to mitigate CVE-2017-15924
Sources
- http://openwall.com/lists/oss-security/2017/10/13/2
- http://www.debian.org/security/2017/dsa-4009
- https://github.com/shadowsocks/shadowsocks-libev/commit/c67d275803dc6ea22c558d06b1f7ba9f94cd8de3
- https://github.com/shadowsocks/shadowsocks-libev/issues/1734
- https://www.x41-dsec.de/lab/advisories/x41-2017-010-shadowsocks-libev/