🇰🇷 한글 설명
LobeChat 2.2.10-canary.18 이전 버전에서 인증된 공격자가 내부 HTTP 요청을 임의의 URL로 유도할 수 있는 서버 측 요청 위조(SSRF) 취약점이 발견되었습니다. 공격자는 스킬 가져오기 및 토픽 커버 업데이트 엔드포인트를 악용하여 클라우드 인스턴스 메타데이터와 같은 내부 주소에 접근하고 민감한 정보를 탈취할 수 있습니다.
💡 쉬운 설명
로그인한 사용자가 서비스의 특정 기능을 이용해 서버가 내부 네트워크의 비밀 정보에 접근하도록 조작할 수 있는 문제입니다. 이를 통해 클라우드 설정 정보나 내부 서비스의 데이터가 유출될 위험이 있습니다.
🇺🇸 원문 (English)
LobeChat before 2.2.10-canary.18 contains a server-side request forgery vulnerability that allows authenticated attackers to direct internal HTTP requests to arbitrary URLs by supplying user-controlled input to the skill import service (importFromUrl) and topic cover update (fetchImageFromUrl) endpoints, which use the global fetch without the project's ssrf-safe-fetch wrapper. Attackers can target internal addresses such as cloud instance metadata endpoints through these unprotected code paths to disclose internal service responses and cloud credentials.
📍 영향받는 시스템
LobeChat versions before 2.2.10-canary.18
⚔️ 공격 벡터
인증된 사용자가 스킬 가져오기(importFromUrl) 또는 이미지 가져오기(fetchImageFromUrl) 엔드포인트에 조작된 URL을 입력하여 공격
🛡️ 대응 방법
LobeChat를 2.2.10-canary.18 이상의 최신 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 버전이 2.2.10-canary.18보다 낮은지 확인하여 취약 여부를 판단합니다.
npm list lobechat 2>/dev/null | grep -E 'lobechat'