🇰🇷 한글 설명
LiteLLM 프록시 서버의 요청 검증 미흡으로 인해 인증된 사용자가 외부 호출 목적지를 임의로 변경할 수 있는 취약점입니다. 공격자는 이를 통해 프록시에 설정된 API 제공업체의 자격 증명을 탈취하거나 내부 서비스로의 서버 측 요청(SSRF)을 수행할 수 있습니다.
💡 쉬운 설명
인증된 사용자가 프록시 서버를 속여서, 서버가 가진 중요한 비밀번호나 API 키를 공격자가 지정한 엉뚱한 곳으로 보내게 만드는 보안 결함입니다. 이를 통해 공격자는 서버 내부의 정보나 중요한 계정 정보를 훔칠 수 있습니다.
🇺🇸 원문 (English)
LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. Prior to versions 1.88.6 and 1.96.2, any authenticated LiteLLM proxy user could redirect an outbound provider call to a destination the user controls and cause the proxy to send its configured provider credentials to that destination. Request validation in litellm/proxy/auth/auth_utils.py, litellm/proxy/common_request_processing.py, litellm/proxy/health_endpoints/_health_endpoints.py, litellm/proxy/image_endpoints/endpoints.py, and litellm/proxy/litellm_pre_call_utils.py used incomplete checks that did not cover every sensitive parameter or inspect equivalent values across nested request fields, path values, and bracket-notation form data. Routing and credential parameters including api_base, base_url, model_list, fallbacks, and litellm_credential_name could therefore be applied without clearing the operator's stored key, exposing upstream provider credentials and other configured secrets and permitting server-side requests to internal services reachable by the proxy. This issue is fixed in versions 1.88.6 and 1.96.2.
📍 영향받는 시스템
LiteLLM versions prior to 1.88.6 and 1.96.2
⚔️ 공격 벡터
인증된 사용자가 요청 파라미터(api_base, base_url 등)를 조작하여 외부 목적지로 리다이렉션 유도
🛡️ 대응 방법
LiteLLM을 버전 1.88.6 또는 1.96.2 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전이 1.88.6 또는 1.96.2보다 낮은지 확인하여 취약 여부를 판단합니다.
pip show litellm | grep Version