Bypassing Shell Commands Denylist Settings with Modified Path
CVE-2024-6091
9.8CRITICAL
What is CVE-2024-6091?
A vulnerability present in version 0.5.1 of the Autogpt application by Significant Gravitas allows attackers to bypass configured denylist settings meant to restrict specific shell commands. Although the denylist aims to block potentially harmful commands such as 'whoami', attackers can execute these commands through alternate paths, for example, by using the syntax '/bin/./whoami', which the denylist does not identify. This circumvention can lead to unauthorized access and execution of commands that are meant to be restricted, thereby posing a serious risk to application integrity and user data.
Affected Version(s)
significant-gravitas/autogpt < 0.5.1