🇰🇷 한글 설명
Gotenberg 8.32.0 및 이전 버전에서 IPv6 전환 접두사(6to4, NAT64 등)를 적절히 차단하지 못하는 취약점이 발견되었습니다. 공격자는 조작된 DNS AAAA 레코드를 사용하여 내부 네트워크 주소나 클라우드 메타데이터 서비스에 접근할 수 있으며, 이를 통해 민감한 자격 증명이 유출될 수 있습니다.
💡 쉬운 설명
특수한 IPv6 주소 형식을 이용해 보안망을 우회하여 내부 서버에 몰래 접속할 수 있는 결함입니다. 이를 통해 클라우드 서비스의 중요한 비밀번호나 정보를 훔쳐갈 위험이 있습니다.
🇺🇸 원문 (English)
Gotenberg is a Docker-powered stateless API for PDF files. In 8.32.0 and earlier, the IsPublicIP function in pkg/gotenberg/outbound.go does not reject the 2002::/16 6to4 prefix, the 64:ff9b::/96 and 64:ff9b:1::/48 NAT64 prefixes, the fec0::/10 deprecated site-local prefix, Teredo, and other transition prefixes that can embed or route to non-public IPv4 destinations. The addr.Unmap operation only handles IPv4-mapped IPv6 addresses, so a crafted DNS AAAA record can cause the outbound HTTP client to treat an address wrapping an internal destination such as 169.254.169.254 as public. An unauthenticated attacker can use a conversion route with WithDenyPrivateIPs enabled to reach cloud metadata services, and the Chromium URL conversion route can return the internal response as a PDF, potentially exposing cloud credentials. Exploitation requires a deployment whose host routes the relevant IPv6 prefix, such as a dual-stack or NAT64-enabled environment. This issue is fixed in version 8.33.0.
📍 영향받는 시스템
Gotenberg 8.32.0 및 그 이전 모든 버전
⚔️ 공격 벡터
조작된 DNS AAAA 레코드를 이용한 IPv6 전환 접두사 기반의 SSRF 공격
🛡️ 대응 방법
Gotenberg를 취약점이 해결된 버전인 8.33.0 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 이미지의 태그(버전)가 8.33.0 미만인지 확인하십시오.
docker images | grep gotenberg