LiteLLMに認証付きで遠隔からコードを実行される脆弱性
Summary
LiteLLMのpass_through_endpointsの処理に、コードを検証せずモジュールのインポートで実行してしまう脆弱性が見つかりました。認証を経たうえで遠隔から任意のコードを実行されるおそれがあり、CVSS v3のスコアは7.2です。影響を受ける版と修正版は公表されていないため、最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
LiteLLMのpass_through_endpointsの処理に、コードを検証せずモジュールのインポートで実行してしまう脆弱性が見つかりました。認証を経たうえで遠隔から任意のコードを実行されるおそれがあり、CVSS v3のスコアは7.2です。影響を受ける版と修正版は公表されていないため、最新の情報を確認してください。
Original description The description as published by the source.
LiteLLM Pass-Through Endpoint Code Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of LiteLLM. Authentication is required to exploit this vulnerability.
The specific flaw exists within the handling of pass_through_endpoints. The issue results from the lack of proper validation of code before it is executed via module import. An attacker can leverage this vulnerability to execute code in the context of the service account. Was ZDI-CAN-31433.
Source: Zero Day Initiative Published Advisories NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- web zdi-disclosures@trendmicro.com
- web zdi-disclosures@trendmicro.com
- web zerodayinitiative.com
- web github.com
- ZDI-PUBLISHED ZDI-26-1084: (Pwn2Own) LiteLLM Pass-Through Endpoint Code Injection Remote Code Execution Vulnerability