🇰🇷 한글 설명
Pulp의 Ansible Galaxy 서버 플러그인인 galaxy_ng에서 서버 측 요청 위조(SSRF) 취약점이 발견되었습니다. 네임스페이스 관리 권한을 가진 인증된 사용자가 아바타 URL을 내부 네트워크나 클라우드 메타데이터 엔드포인트로 설정하여 내부 서비스를 탐색할 수 있습니다. 또한, HTTP 클라이언트에 타임아웃 설정이 없어 응답이 없는 대상에 연결할 경우 워커를 점유하여 서비스 거부(DoS)를 유발할 수 있습니다.
💡 쉬운 설명
권한이 있는 사용자가 서버를 속여 내부 네트워크의 정보를 몰래 빼내거나 서버를 멈추게 할 수 있는 결함입니다. 공격자가 가짜 주소를 입력하면 서버가 그 주소로 접속을 시도하는 점을 악용합니다.
🇺🇸 원문 (English)
A server-side request forgery (SSRF) vulnerability was found in galaxy_ng, the Ansible Galaxy server plugin for Pulp. An authenticated user with namespace management permissions can set a namespace avatar URL to an arbitrary address, including internal networks, loopback, or cloud instance metadata endpoints. A background worker fetches that URL without checking the destination, which lets the attacker probe internal services and enumerate reachable IP addresses. The HTTP client is also configured without an overall timeout, so a slow or non-responsive target can pin workers and cause a denial of service.
📍 영향받는 시스템
galaxy_ng (Pulp의 Ansible Galaxy 서버 플러그인)
⚔️ 공격 벡터
네임스페이스 아바타 URL에 내부망 또는 메타데이터 주소를 입력하여 서버가 해당 주소로 요청을 보내도록 유도
🛡️ 대응 방법
galaxy_ng 플러그인을 최신 보안 패치가 적용된 버전으로 업데이트하고, URL 입력값에 대한 화이트리스트 검증 및 타임아웃 설정을 적용해야 합니다.
🔧 검증 코드
출력된 galaxy-ng의 버전을 확인하여 보안 패치가 적용된 최신 버전인지 대조합니다.
pip show galaxy-ng 2>/dev/null | grep Version