Enviar #1082793: OpenBMB Internet of Agents(IoA) 9d78e88 Execution with Unnecessary Privilegesinformación

TítuloOpenBMB Internet of Agents(IoA) 9d78e88 Execution with Unnecessary Privileges
Descripción A vulnerability was found in OpenBMB Internet of Agents up to commit 9d78e88. This vulnerability affects the function launch_goal of the file im_client/main.py of the component Client API. The manipulation of the goal leads to remote code execution. It is possible to launch the attack remotely. Details: the client exposes POST /launch_goal without authentication, rate limiting, or task quota. The endpoint accepts a user-controlled goal through LaunchGoalParam and passes it to the multi-agent communication layer. The Open Interpreter compose service publishes the client on port 5051, mapped to the container's x.x.x.x:5050 listener, so any network client that can reach the port can submit a goal. The client starts the Open Interpreter tool container with privileged=True and no host mounts. This is an execution-with-unnecessary-privileges case: the task path does not require host-level capabilities, yet the container is started with privileged=True. Inside the container, Open Interpreter sets auto_run=True, and the /run endpoint passes the task to safe_chat, which calls interpreter_instance.chat. The client adapter submits collaboration tasks to that /run endpoint. There is no approval step, command allowlist, sandbox, or per-task authorization between the unauthenticated HTTP request and the automatic execution of LLM-generated code. Attack flow: (1) a remote client sends a POST request to /launch_goal without any token, cookie, or signature; (2) the request supplies a goal that instructs the tool agent to run a shell command, together with max_turns and optional team members; (3) the client starts or reuses the privileged Open Interpreter tool container and submits the task through /run; (4) Open Interpreter executes the generated command automatically and returns a conclusion; (5) the attacker can verify execution by reading a marker file from the tool container. Proof of concept (live deployment, client published on port 5051): a credential-less minimal goal {"goal":"Reply with only the word OK.","team_member_names":[],"max_turns":1} returned HTTP 200 with OK in 7.2 seconds. A credential-less command-style goal asking the terminal to run printf IOA-RCE-bcacf164 > /tmp/ioa_marker_bcacf164 returned HTTP 200 with DONE in 37.3 seconds. Running docker exec open-interpreter-agent cat /tmp/ioa_marker_bcacf164 on the host returned IOA-RCE-bcacf164, proving that the command executed inside the tool container. The public report includes the full PoC and cleanup steps. Impact: an unauthenticated attacker can make a privileged=True tool container execute arbitrary shell or Python code (container-level remote code execution). The privileged flag grants all Linux capabilities and device access, creating host-level risk; the test did not execute a host escape, so a host escape is not claimed. The tool container has mounts=[] and does not mount /var/run/docker.sock, which is present only in the client container. The attacker can also launch arbitrary numbers and lengths of multi-agent tasks without authentication, consuming LLM tokens, CPU, disk, and network, and can steer agent behavior or pollute task results and chat records. Suggested fix: require authentication (token or signature), rate limiting, and task quotas on /launch_goal, and bind the client API to a trusted interface instead of 0.0.0.0. Remove privileged=True from tool containers and apply least privilege: drop unnecessary capabilities, use a read-only filesystem, and restrict devices and network. Set Open Interpreter's auto_run=False by default and add approval or sandboxing for LLM-generated code. Add task timeouts, cancellation, and concurrency caps. If Docker control is genuinely required, use a restricted socket proxy and do not expose docker.sock to containers that do not need it.
Fuente⚠️ https://github.com/OpenBMB/IoA/issues/27
Usuario
 Evo1ution (UID 101872)
Sumisión2026-11-09 17:57 (hace 25 días)
Moderación2026-12-04 07:53 (25 days later)
EstadoAceptado
Entrada de VulDB449615 [OpenBMB Internet of Agents hasta 9d78e88e47160eb42ee1ee8538c05e1c2c47877a Client API im_client/main.py launch_goal escalada de privilegios]
Puntos20

Might our Artificial Intelligence support you?

Check our Alexa App!