SSRF Security Risk: URL Fetcher Reaches Cloud IMDS (`169.254.169.254`)
Server-side URL fetch without IP allow/block validation exposed cloud instance credentials.
Runs locally in browser
Free · No login
Independently Verified 2026-11-25
v4.1.0
Identifier: SSRF Security Risk
Platform: Security
Common Root Causes:
- Server-side URL fetch without IP allow/block validation exposed cloud instance credentials.
Interactive Diagnostic Checklist
Verified Solutions:
- Resolve DNS first, block RFC 1918/link-local/loopback IPs, and require IMDSv2 on cloud VMs.
Safe Diagnostic Command:
Enforce IMDSv2 hop-limit=1 and inspect outbound URL resolver
Warning: Verify configuration changes in staging or with dry-run flags (e.g. nginx -t) before reloading production services.
Technical Explanation
Server-side URL fetch without IP allow/block validation exposed cloud instance credentials. Recommended diagnostic: `Enforce IMDSv2 hop-limit=1 and inspect outbound URL resolver`. Remediation: Resolve DNS first, block RFC 1918/link-local/loopback IPs, and require IMDSv2 on cloud VMs.
Worked Examples
- Run `Enforce IMDSv2 hop-limit=1 and inspect outbound URL resolver` to verify root cause before applying the remediation.
Limitations & Assumptions
- Always verify configuration changes in staging or with dry-run flags (e.g. `nginx -t`) before reloading production services.
Source References & Verification
Resource ID: err-sec-ssrf-cloud-metadata-169 · Independently verified: 2026-11-25