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.
According to CrowdSec data, while opportunistic exploitation dominates, a portion of threat actors trying to exploit CVE-2024-6587 apply basic targeting methods such as port or service detection. This indicates emerging patterns of selective targeting. CrowdSec data also reveals a clear uptick in attacks involving CVE-2024-6587 over the past week. Activity is above the usual baseline, suggesting growing attention from attackers. This may reflect rising awareness, recent exploit releases, or expanded targeting efforts.
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 |