OS Command Injection in Shadowsocks-libev and Debian Linux - CVE-2017-15924

 

OS Command Injection in Shadowsocks-libev and Debian Linux - CVE-2017-15924

Published: October 27, 2017 / Updated: August 8, 2020


Vulnerability identifier: #VU38010
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2017-15924
CWE-ID: CWE-78
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Shadowsocks
Debian
Affected software:
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

Install update from vendor's website.

Sources