Gotenberg unauthenticated blind SSRF via unfiltered webhook URL
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 an API-based document conversion tool. In version 8.29.1, an unauthenticated attacker with network access can force the server to make outbound HTTP POST requests to arbitrary internal or external destinations by supplying a crafted URL in the Gotenberg-Webhook-Url request header. The FilterDeadline function in filter.go is intended to gate outbound URLs, but when both the allow-list and deny-list are empty (the default configuration), it returns nil unconditionally and permits any URL.