Browse / AI Framework and Platform Flaws / CVE-2024-5710
litellm vulnerable to improper access control in team management
- Class
- AI Framework and Platform Flaws (filed by a model that read the advisory)
- Technique
- Authentication and access control
- Affected
- litellm (PyPI)
- Gets past
- Authorisation check
- CVSS
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
- EPSS
- 0.4% chance of exploitation in 30 days
How it works, in short
Team management endpoints skip authorisation checks, so any caller can view, change or delete teams and their members. (Our summary, written by a model. The source text is below.)
Details
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-5710
- https://github.com/BerriAI/litellm/commit/da3ae00bd68f451ed8ddf0bc0a9fd34bde5554d6
- https://github.com/BerriAI/litellm/blob/224148d6133ee50801cb129cbd21ccc213992e25/litellm/proxy/auth/user_api_key_auth.py#L1020
- https://github.com/berriai/litellm
- https://huntr.com/bounties/70897f59-a966-4d93-b71e-745e3da91970
Source: GitHub Advisory Database, used under CC BY 4.0.