Gotenberg: Unauthenticated SSRF via default deny-list bypass in downloadFrom and webhook
gotenberg
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/gotenberg/gotenberg/v8 Go |
|
|
| github.com/gotenberg/gotenberg/v7 Go |
| No fix yet |
Original description
Gotenberg is a Docker-powered stateless API for PDF files. Prior to 8.31.0, the default deny-lists used by Gotenberg's downloadFrom feature and webhook feature are bypassable. Because the filter is regex-based and case-sensitive, an unauthenticated attacker can supply URLs such as http://[::ffff:127.0.0.1]:... and reach loopback or private HTTP services that the default deny-list is intended to block. This crosses a real security boundary because an external caller can force the server to make outbound requests to internal-only targets. This vulnerability is fixed in 8.31.0.