Lollms has an Improper Access Control vulnerability
The Socket.IO event handlers in lollms_generation_events.py were registered without any authentication or authorization checks, so unauthenticated clients could invoke operations such as text generation and cancellation. This could lead to denial of service, state corruption, and race conditions, especially because global flags were used for state management in a multi-client environment.
parisneo/lollms
Originally disclosed on huntr
A vulnerability in the lollms_generation_events.py component of parisneo/lollms version 5.9.0 allows unauthenticated access to sensitive Socket.IO events. The add_events function registers event handlers such as generate_text, cancel_generation, generate_msg, and generate_msg_from without implementing authentication or authorization checks. This allows unauthenticated clients to execute resource-intensive or state-altering operations, leading to potential denial of service, state corruption, and race conditions. Additionally, the use of global flags (lollmsElfServer.busy, lollmsElfServer.cancel_gen) for state management in a multi-client environment introduces further vulnerabilities, enabling one client's actions to affect the server's state and other clients' operations. The lack of proper access control and reliance on insecure global state management significantly impacts the availability and integrity of the service.
From the GitHub Advisory Database (GHSA-82fw-ch24-j34w, CC BY 4.0).
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
Unauthenticated clients could execute resource-intensive or state-altering operations, potentially causing denial of service, state corruption, and race conditions that affect other clients.
What the attacker needed
Network access to the Socket.IO endpoint; no authentication required
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
This report is about a chat server that lets clients send commands over a live connection called Socket.IO. The server forgot to check who was sending those commands, so anyone could trigger heavy tasks or cancel other people's work. That could make the service slow or unreliable for everyone.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.