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.
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
Link | Tags |
---|---|
https://github.com/shadowsocks/shadowsocks-libev/commit/c67d275803dc6ea22c558d06b1f7ba9f94cd8de3 | third party advisory |
https://github.com/shadowsocks/shadowsocks-libev/issues/1734 | third party advisory |
https://www.x41-dsec.de/lab/advisories/x41-2017-010-shadowsocks-libev/ | third party advisory exploit |
http://www.debian.org/security/2017/dsa-4009 | third party advisory vendor advisory |
http://openwall.com/lists/oss-security/2017/10/13/2 | third party advisory mailing list |