RCE in Shadowsocks Shadowsocks-Libev
CVE-2017-15924
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.013, 70.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Shadowsocks Shadowsocks-Libev — versions 1.3, 1.3.2, 1.4.0
- Debian Linux — versions 9.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 12 other repositories (201755110121/kcp, 5l1v3r1/docker-shadowsocks, andir/nixos-issue-db-example, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/shadowsocks/shadowsocks-libev/commit/c67d275803dc6ea22c558d06b1f7ba9… (Third Party Advisory)
- github.com/shadowsocks/shadowsocks-libev/issues/1734 (Third Party Advisory)
- www.x41-dsec.de/lab/advisories/x41-2017-010-shadowsocks-libev/ (Exploit, Third Party Advisory)
- DSA-4009 (vendor-advisory, Third Party Advisory)
- openwall.com/lists/oss-security/2017/10/13/2 (Mailing List, Third Party Advisory)