Skip to content

Non-plugin binaries can be executed from an untrusted online configuration #1943

@dyhkwong

Description

@dyhkwong

If an online configuration is like

{
	"local_address": "127.0.0.1",
	"local_port": 1080,
	"server": "127.0.0.1",
	"server_port": 8388,
	"method": "aes-256-gcm",
	"password": "123456",
	"plugin": "calc",
	"plugin_args": []
}

and one runs sslocal --online-config-url https://example.com/config.json --local-addr 127.0.0.1:1080, Windows will pop-up a calculator. With shadowsocks-rust-only plugin_args most things on a local device can be executed. I don't think this is expected behavior. Online configuration should not be considered a trusted source.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions