LiteLLM key_management_endpoints Missing Authorization Security Feature Bypass Vulnerability
The key_management_endpoints module in LiteLLM did not check authorisation before granting access to its functionality. An authenticated attacker could use this to reach resources that should have been protected from them.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to bypass security features on affected installations of LiteLLM. Authentication is required to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
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 key management endpoints performed authentication but never verified that the caller had the privileges required for the requested operation.
Impact
An authenticated attacker could escalate privileges and access resources normally protected from their account.
What the attacker needed
Valid authenticated account
The fix
The vulnerability was fixed in LiteLLM release v1.104.0.
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.
The vendor has released an update that corrects the vulnerability.
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.