🇰🇷 한글 설명
Kubeflow Pipelines 2.17.0 미만 버전에서 인증되지 않은 서버 측 요청 위조(SSRF) 취약점이 발견되었습니다. /_proxy/ 경로를 통해 공격자가 임의의 내부 주소로 요청을 전달할 수 있으며, 이를 통해 클라우드 메타데이터나 쿠버네티스 API와 같은 내부 서비스에 접근할 수 있습니다.
💡 쉬운 설명
해커가 인증 없이 시스템을 속여 내부 네트워크의 중요한 정보나 관리 도구에 접근할 수 있는 보안 구멍이 발견되었습니다. 이 구멍을 통해 클라우드 설정 정보나 서버 제어권이 탈취될 위험이 있습니다.
🇺🇸 원문 (English)
Kubeflow Pipelines enables users to build and deploy portable, scalable machine learning workflows. Prior to 2.17.0, the Kubeflow Pipelines frontend exposes an unauthenticated server-side request forgery vulnerability through the /_proxy/ route in frontend/server/proxy-middleware.ts. The _routePathWithReferer() function accepts an arbitrary attacker-controlled HTTP or HTTPS target and passes its origin to createProxyMiddleware without a host allowlist or filtering for loopback, link-local, RFC1918, or cluster-local addresses. The route remains outside the authorization middleware when ENABLE_AUTHZ=true and is reachable through /apis/v1beta1/_proxy/, /apis/v2beta1/_proxy/, /pipeline/apis/v1beta1/_proxy/, and /pipeline/apis/v2beta1/_proxy/, including through a crafted Referer header. Requests can forward attacker-controlled methods, headers such as Authorization, Cookie, and X-Forwarded-For, and POST bodies to reachable internal services, while returning the upstream response to the unauthenticated client. This can expose cloud metadata credentials, Kubernetes or service APIs, and other cluster-internal endpoints to unauthorized read or modification. This issue is fixed in version 2.17.0.
📍 영향받는 시스템
Kubeflow Pipelines versions prior to 2.17.0
⚔️ 공격 벡터
조작된 Referer 헤더를 포함한 요청을 /_proxy/ 경로로 전송하여 내부 서비스로 요청을 전달(SSRF)
🛡️ 대응 방법
Kubeflow Pipelines를 2.17.0 버전 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전이 2.17.0 미만이면 취약한 상태이며, 2.17.0 이상이면 안전합니다.
pip show kubeflow-pipelines | grep Version