In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Arbitrary Code Injection vulnerabilities in an interactive lesson.
Start learningThere is no fixed version for agentscope
.
agentscope is an AgentScope: A Flexible yet Robust Multi-Agent Platform.
Affected versions of this package are vulnerable to Arbitrary Code Injection. This vulnerability is caused by an incomplete fix for SNYK-PYTHON-AGENTSCOPE-8145542. The applied black-list to filter out dangerous commands can be simply bypassed. For example, the attackers can run rm --rf
(note that there are more than one space character in between the rm
and -rf
) to bypass the check as the blocked item only has one space in between. Moreover, the current black-list also overlooked many other dangerous commands such as netcat
, the hackers can simply create a backdoor by the command nc -lvvp 6666 -e /bin/sh
to enable a remote shell and then log into the victim system to run arbitrary commands as follows.