Submit #1082757: OpenBMB Internet of Agents(IoA) 9d78e88 Denial of Serviceinfo

TitleOpenBMB Internet of Agents(IoA) 9d78e88 Denial of Service
Description A vulnerability was found in OpenBMB Internet of Agents up to commit 9d78e88. This vulnerability affects the function websocket_endpoint of the file im_server/app.py of the component WebSocket Message Handler. The manipulation of the WebSocket message leads to denial of service. It is possible to launch the attack remotely. Details: the WebSocket message loop does not stop after a parse failure or an unknown comm_id. If AgentMessage.model_validate_json raises, the exception is swallowed and the next line uses the uninitialized parsed_data, raising UnboundLocalError. If comm_id is not in session_manager.sessions, the code only logs and then accesses chat_record_manager[comm_id], raising KeyError. In addition, send_personal_message catches a missing receiver but still calls websocket.send_text on the unbound variable, raising UnboundLocalError; any message to a session with an offline member therefore kills the sender's own channel. These exceptions are not WebSocketDisconnect, so they escape the loop; the connection is closed abnormally and disconnect() and connection-table cleanup never run. Attack flow: (1) connect to /ws/{agent_name}; (2) send invalid JSON, or a valid message with an unknown comm_id, or send a message to a session that contains an offline member; (3) the server raises an unhandled exception, closes the connection, and leaves a dead entry in agent_to_websocket. Path C can be triggered by a normal message in a session with an offline member. Proof of concept (live deployment, ioa-server on port 7788): path A sends invalid JSON and the connection is closed; path B sends a valid message with a nonexistent comm_id and the connection is closed, and a second send fails; path C registers two agents, creates a session, connects only one, sends a message, the first message is delivered and the second send fails because the sender's channel was killed by the offline member. health_check still returns "ok", showing the process survives while the targeted channel is dead. Impact: any remote client can kill a targeted agent's message channel (denial of service); combined with WebSocket identity hijacking, an attacker can evict the real connection and crash the name, keeping the victim offline after reconnection; dead entries remain in the connection table and cause further delivery failures. Suggested fix: continue (or explicitly close and clean up) after parse failures or unknown comm_id; skip missing receivers in send_personal_message; guarantee disconnect() and connection-table cleanup with finally; limit WebSocket message size and frequency.
Source⚠️ https://github.com/OpenBMB/IoA/issues/25
User
 Evo1ution (UID 101872)
Submission11/09/2026 16:59 (24 days ago)
Moderation12/03/2026 10:16 (24 days later)
StatusAccepted
VulDB entry448620 [OpenBMB Internet of Agents up to 9d78e88e47160eb42ee1ee8538c05e1c2c47877a WebSocket Message im_server/app.py websocket_endpoint exceptional condition]
Points20

Might our Artificial Intelligence support you?

Check our Alexa App!