🔍 CVE-2024-6538

5.3
CVSS Score
MEDIUM
2024-11-25
2026-11-03 18:17
✅ 완료

🇰🇷 한글 설명

OpenShift Console에서 Server Side Request Forgery(SSRF) 취약점이 발견되었습니다. /api/dev-console/proxy/internet 엔드포인트가 URL 검증 없이 콘솔 파드가 임의의 HTTP(S) 요청을 수행하도록 허용하여, 인증된 사용자가 클러스터 내부 서비스에 접근할 수 있습니다. 응답 전체가 반환되므로 정보 노출로 이어질 수 있습니다.

💡 쉬운 설명

인증된 사용자가 OpenShift 콘솔 서버를 통해 클러스터 내부의 보호된 서비스에 임의로 접근할 수 있는 결함입니다. 이를 통해 내부 정보가 외부로 유출되거나 다른 서비스에 영향을 줄 수 있습니다.

🇺🇸 원문 (English)

A flaw was found in OpenShift Console. A Server Side Request Forgery (SSRF) attack can happen if an attacker supplies all or part of a URL to the server to query. The server is considered to be in a privileged network position and can often reach exposed services that aren't readily available to clients due to network filtering. Leveraging such an attack vector, the attacker can have an impact on other services and potentially disclose information or have other nefarious effects on the system. The /api/dev-console/proxy/internet endpoint on the OpenShift Console allows authenticated users to have the console's pod perform arbitrary and fully controlled HTTP(s) requests. The full response to these requests is returned by the endpoint. While the name of this endpoint suggests the requests are only bound to the internet, no such checks are in place. An authenticated user can therefore ask the console to perform arbitrary HTTP requests from outside the cluster to a service inside the cluster.

📍 영향받는 시스템

Red Hat OpenShift Container Platform의 Console 구성요소 (해당 패치 이전 버전)

⚔️ 공격 벡터

인증된 사용자가 /api/dev-console/proxy/internet 엔드포인트에 내부 주소를 지정해 콘솔 파드가 대신 요청하도록 하여 내부 서비스 접근 및 정보 유출

🛡️ 대응 방법

Red Hat이 제공하는 최신 OpenShift 보안 업데이트를 적용하여 콘솔을 패치하고, 필요 시 콘솔의 외부 요청 경로에 대한 네트워크 정책을 제한

🔧 검증 코드

출력된 OpenShift 버전을 Red Hat 보안 권고(RHSA)에서 CVE-2024-6538 수정 버전과 비교하여, 설치된 버전이 수정 버전 이상이면 패치된 것이고 미만이면 취약한 것입니다.

Shell / Script
oc get clusterversion -o jsonpath='{.items[0].status.desired.version}' 2>/dev/null

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

TeamViewer Full Client