LiteLLM - SSRF (CVE-2024-6587)
Description
A Server-Side Request Forgery (SSRF) vulnerability exists in BerriAI/LiteLLM version 1.38.10. This vulnerability allows users to specify the api_base parameter when making requests to POST /chat/completions, causing the application to send the request to the domain specified by api_base. This request includes the OpenAI API key. A malicious user can set the api_base to their own domain and intercept the OpenAI API key, leading to unauthorized access and potential misuse of the API key.
psychologyCrowdSec Analysis
CVE-2024-6587 is a Server-Side Request Forgery (SSRF) vulnerability in the BerriAI/LiteLLM library, allowing attackers to influence request destinations and potentially intercept sensitive API keys through crafted payloads.
CrowdSec has been tracking this vulnerability and its exploits since 9th of October 2024.
Data from the CrowdSec community indicates that exploitation of CVE-2024-6587 is highly selective and intelligence-driven. Threat actors use advanced reconnaissance and carefully choose their targets, often as part of sophisticated campaigns or advanced persistent threat operations. Telemetry from the CrowdSec network also shows that exploitation activity for CVE-2024-6587 remains steady week-over-week. Attack volumes are consistent with long-term trends, indicating sustained interest from threat actors. CVE-2024-6587 continues to be an active part of the threat landscape and will likely remain this way for the forseeable future.
Observed exploitation attempts are characterized by requests made to URLs containing /chat/completions.
Full Intelligence Available
Connect your API key to access CrowdSec scores, exploit timelines, and attacker IPs.
| Event | Date |
|---|---|
| CVE Published | 2024-09-13 |
| Rule Released | 2024-10-09 |
| CrowdSec First Seen | 2024-11-23 |