🇰🇷 한글 설명
Gotenberg 8.32.0 이전 버전의 Chromium URL-to-PDF 엔드포인트(/forms/chromium/convert/url)에서 SSRF 취약점이 존재합니다. 공격자는 인증 없이 내부 IP 주소, 루프백, RFC 1918 범위, 클라우드 메타데이터 엔드포인트로 요청을 보낼 수 있으며, HTTP 리다이렉트를 이용해 deny-list 보호를 우회할 수 있습니다.
💡 쉬운 설명
Gotenberg는 웹 페이지를 PDF로 변환하는 서비스인데, 공격자가 회사 내부 네트워크의 서버에 접근하도록 속일 수 있습니다. 보안 설정도 리다이렉트 링크를 통해 우회 가능합니다.
🇺🇸 원문 (English)
Gotenberg is a Docker-powered stateless API for PDF files. Prior to 8.32.0, Gotenberg's Chromium URL-to-PDF endpoint (/forms/chromium/convert/url) has no default protection against HTTP/HTTPS-based SSRF. The default deny-list regex only blocks file:// URIs. An unauthenticated attacker can point Chromium at any internal IP — including loopback, RFC 1918 ranges, and cloud metadata endpoints — and receive the response rendered as a PDF. Additionally, even when operators configure a custom deny-list, the protection is bypassed via HTTP redirects. Gotenberg's Chromium instance follows 302 redirects from an attacker-controlled external URL to internal targets without re-validating the redirect destination against the deny-list. This vulnerability is fixed in 8.32.0.
📍 영향받는 시스템
Gotenberg 버전 8.32.0 미만 모든 버전
⚔️ 공격 벡터
/forms/chromium/convert/url 엔드포인트에 내부 IP 주소나 HTTP 리다이렉트를 통한 내부 URL을 전송하여 내부 리소스 접근
🛡️ 대응 방법
Gotenberg를 8.32.0 이상으로 즉시 업그레이드
🔧 검증 코드
설치된 Gotenberg의 버전을 확인하여 8.32.0 미만이면 취약점 존재, 이상이면 패치됨
dpkg -l gotenberg 2>/dev/null | grep gotenberg || docker image ls | grep gotenberg