🇰🇷 한글 설명
Dify 1.13.0 미만 버전의 /console/api/remote-files/upload 엔드포인트에서 인증 없이 공격자가 제어하는 URL을 수락하는 취약점이 발견되었습니다. 공격자는 이를 통해 서버가 내부 서비스나 클라우드 메타데이터 엔드포인트에 요청을 보내도록 유도하여 민감한 데이터를 탈취하거나 네트워크 피벗으로 악용할 수 있습니다.
💡 쉬운 설명
해커가 아무런 인증 없이 서버에 특정 주소를 전달하여, 서버가 내부의 비밀 정보가 담긴 주소에 대신 접속하게 만드는 공격입니다. 이를 통해 서버 내부의 중요한 데이터가 외부로 유출될 위험이 있습니다.
🇺🇸 원문 (English)
Dify is an open-source LLM app development platform. Prior to 1.13.0, the /console/api/remote-files/upload endpoint in api/controllers/web/remote_files.py accepted an attacker-controlled URL without authentication and caused the Dify server to retrieve it. A remote attacker could use the endpoint to send requests to internal services or cloud metadata endpoints, potentially exposing sensitive data and using the server as a network pivot. This issue is fixed in version 1.13.0.
📍 영향받는 시스템
Dify 1.13.0 미만 모든 버전
⚔️ 공격 벡터
인증되지 않은 원격 공격자가 조작된 URL을 업로드 엔드포인트로 전송 (SSRF)
🛡️ 대응 방법
Dify를 최신 버전인 1.13.0 이상으로 업데이트하십시오.
🔧 검증 코드
출력 결과에 1.13.0 이상의 버전 정보가 포함되어 있는지 확인하십시오.
curl -s http://<DIFY_HOST>/version | grep -E '1.13.0'