The Webhook Gateway Trap: How Blind SSRF in Custom SaaS Webhooks Exposes Internal Cloud Metadata
From Slack bots and Zapier actions to custom CRM synchronization and payment event webhooks, almost every modern B2B SaaS platform allows customers to configure custom HTTP endpoints. Yet in over 40% of the comprehensive red-team audits conducted by BreachSweep, we discover that outbound webhook dispatchers run directly from inside private application VPCs with zero egress filtering—creating a direct, exploitable path for Blind Server-Side Request Forgery (SSRF).
- Custom webhook dispatchers frequently execute HTTP POST requests from inside internal VPC networks without validating destination IP addresses
- Naive hostname regex blacklists fail completely against DNS rebinding, decimal/hexadecimal IP representations, and HTTP 302 redirect loops
- Blind SSRF enables attackers to probe internal microservices, execute unauthorized Redis commands, and steal AWS IAM role credentials from IMDSv1
- Full mitigation requires DNS resolution validation, socket connection pinning against rebinding, disabling redirect following, and routing egress through an isolated DMZ proxy
1. What Happened: Incident Breakdown
During blackbox and graybox audits across 50+ enterprise SaaS platforms, BreachSweep demonstrated that asynchronous webhook delivery workers (Celery, BullMQ, Sidekiq) routinely execute requests against user-controlled URLs with internal network privileges. By configuring webhook destinations targeting cloud metadata endpoints (169.254.169.254) or internal microservices, our offensive security engine retrieved temporary AWS IAM credentials, enumerated internal Kubernetes services, and dumped unauthenticated in-memory databases.
2. Verified Technical Facts
3. Why This Matters for SaaS Teams
4. Questions Every Engineering Lead Should Audit
BreachSweep tests the subtle perimeter and logic flaws that standard security scanners completely miss. In our Deep Logic Sprint (24-hour turnaround, $349), our red-team engine executes multi-stage SSRF probing, DNS rebinding simulations, protocol smuggling checks, and egress authorization audits against your webhook and integration engines. Every finding is delivered with a reproducible cURL proof-of-concept and drop-in TypeScript and Go remediation code.
Related Testing Services