Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE-2024-4890
Summary
A blind SQL injection vulnerability exists in the berriai/litellm application, specifically within the "/team/update" process. The vulnerability arises due to the improper handling of the "user_id" parameter in the raw SQL query used for deleting users. An attacker can exploit this vulnerability by injecting malicious SQL commands through the "user_id" parameter, leading to potential unauthorized access to sensitive information such as API keys, user information, and tokens stored in the database. This issue affects litellm versions prior to 1.49.6.
- LOW
- NETWORK
- NONE
- UNCHANGED
- NONE
- HIGH
- HIGH
- NONE
CWE-89 - SQL Injection
Structured Query Language (SQL) injection attacks are one of the most common types of vulnerabilities. They exploit weaknesses in vulnerable applications to gain unauthorized access to backend databases. This often occurs when an attacker enters unexpected SQL syntax in an input field. The resulting SQL statement behaves in the background in an unintended manner, which allows the possibility of unauthorized data retrieval, data modification, execution of database administration operations, and execution of commands on the operating system.
References
Advisory Timeline
- Published