SB2017102720 - OS Command Injection in Shadowsocks Shadowsocks-libev
Published: October 27, 2017 Updated: August 8, 2020
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) OS Command Injection (CVE-ID: CVE-2017-15924)
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.
Remediation
Install update from vendor's website.
References
- 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/