🇰🇷 한글 설명
Kestra 오픈소스 오케스트레이션 플랫폼의 HttpFunction에서 사용자 제어 URI 인자를 검증 없이 처리하여 발생하는 취약점입니다. 공격자가 내부 서비스나 클라우드 메타데이터에 접근할 수 있는 흐름을 임포트하고 실행할 수 있습니다.
💡 쉬운 설명
해커가 Kestra 시스템을 통해 내부 네트워크에 숨겨진 중요한 정보나 서버 설정에 몰래 접근할 수 있는 보안 구멍입니다. 인증되지 않은 사용자라도 악성 명령을 실행하여 내부 시스템을 들여다볼 수 있습니다.
🇺🇸 원문 (English)
Kestra is an open-source, event-driven orchestration platform. Prior to 2.0.0, Kestra's core/src/main/java/io/kestra/core/runners/pebble/functions/HttpFunction.java passes the user-controlled http() uri argument to URI.create() and the server-side HTTP client without restricting private, loopback, or link-local destinations, allowing an unauthenticated attacker to import and execute a flow that accesses internal services or cloud metadata.
📍 영향받는 시스템
Kestra version prior to 2.0.0
⚔️ 공격 벡터
인증되지 않은 공격자가 악성 HTTP 함수가 포함된 플로우를 임포트하여 내부 네트워크로 요청을 전송
🛡️ 대응 방법
Kestra를 2.0.0 이상의 최신 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 정보가 2.0.0 미만(예: 1.x.x)이면 취약한 상태이며, 2.0.0 이상이면 안전합니다.
curl -s http://<kestra-host>/api/v1/version | grep -E '"version": "[0-1]\.'