PT-2017-3162 · Shadowsocks Libev · Shadowsocks-Libev

Published

2017-10-27

·

Updated

2024-06-15

·

CVE-2017-15924

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions shadowsocks-libev version 3.1.0
Description The issue is related to improper parsing in the ss-manager component of shadowsocks-libev, allowing command injection via shell metacharacters in a JSON configuration request received via UDP traffic on 127.0.0.1. This is associated with the add server, build config, and construct command line functions. The vulnerability can be exploited by sending a specially crafted JSON configuration file, potentially allowing an attacker to inject arbitrary commands or execute arbitrary code.
Recommendations For shadowsocks-libev version 3.1.0, as a temporary workaround, consider disabling the add server, build config, and construct command line functions until a patch is available. Restrict access to the ss-manager component to minimize the risk of exploitation. Avoid using UDP traffic on 127.0.0.1 for JSON configuration requests until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Command Injection

OS Command Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2017-02574
CVE-2017-15924
DSA-4009-1
MGASA-2017-0436
OPENSUSE-SU-2024:11379-1

Affected Products

Shadowsocks-Libev