litellm vulnerable to improper access control in team management
The team management endpoints in litellm lacked proper access control checks, allowing an attacker to perform any team management action without authorisation. This includes creating, updating, viewing, deleting, blocking, and unblocking teams, as well as adding or removing members.
BerriAI/litellm
Originally disclosed on huntr
berriai/litellm version 1.34.34 is vulnerable to improper access control in its team management functionality. This vulnerability allows attackers to perform unauthorized actions such as creating, updating, viewing, deleting, blocking, and unblocking any teams, as well as adding or deleting any member to or from any teams. The vulnerability stems from insufficient access control checks in various team management endpoints, enabling attackers to exploit these functionalities without proper authorization.
From the GitHub Advisory Database (GHSA-qqcv-vg9f-5rr3, 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
Root cause
Likely, the team management endpoints did not verify that the requesting user had the necessary permissions before performing actions.
Impact
An attacker could perform any team management action, including creating, updating, viewing, deleting, blocking, and unblocking teams, and adding or removing members, without authorisation.
What the attacker needed
Access to the litellm instance
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.
Access control is the system that decides who is allowed to do what. Here, the team management features did not check whether the person making the request had permission, so anyone could manage any team. This means an attacker could take over or disrupt teams they should not be able to touch.
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.