🔍 CVE-2026-0560

7.5
CVSS Score
HIGH
2026-03-29
2026-06-17 10:10
✅ 완료

🇰🇷 한글 설명

parisneo/lollms 2.2.0 미만 버전의 /api/files/export-content 엔드포인트에서 서버 측 요청 위조(SSRF) 취약점이 발견되었습니다. backend/routers/files.py의 _download_image_to_temp() 함수가 사용자 제어 URL을 검증하지 않아, 공격자가 내부 서비스나 클라우드 메타데이터 엔드포인트로 임의의 HTTP 요청을 보낼 수 있습니다. 이로 인해 내부 네트워크 접근, 정보 유출, 포트 스캐닝 및 원격 코드 실행이 발생할 수 있습니다.

💡 쉬운 설명

서버가 사용자가 입력한 주소로 대신 접속해주는 과정에서 검사를 하지 않아 발생하는 문제입니다. 이를 통해 해커가 서버 내부의 비밀 정보나 다른 컴퓨터에 몰래 접근할 수 있습니다.

🇺🇸 원문 (English)

A Server-Side Request Forgery (SSRF) vulnerability exists in parisneo/lollms versions prior to 2.2.0, specifically in the `/api/files/export-content` endpoint. The `_download_image_to_temp()` function in `backend/routers/files.py` fails to validate user-controlled URLs, allowing attackers to make arbitrary HTTP requests to internal services and cloud metadata endpoints. This vulnerability can lead to internal network access, cloud metadata access, information disclosure, port scanning, and potentially remote code execution.

📍 영향받는 시스템

parisneo/lollms versions prior to 2.2.0

⚔️ 공격 벡터

조작된 URL을 /api/files/export-content 엔드포인트에 전달하여 내부 네트워크로 요청을 유도함

🛡️ 대응 방법

lollms를 2.2.0 이상의 최신 버전으로 업데이트하고 입력 URL에 대한 화이트리스트 검증을 적용함

🔧 검증 코드

출력된 버전 번호가 2.2.0 미만인지 확인합니다.

Shell / Script
pip show lollms | grep Version

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N