fix: block IPv4-mapped IPv6 SSRF bypass (F-1 HIGH) #2
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/ipv4-mapped-ipv6-ssrf"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Attack scenario (blocked by this fix)
Admin sets API URL to `http://[::ffff:a9fe:a9fe]/latest/meta-data/iam/security-credentials/`. Without this fix, the plugin POSTs to that address, which the OS kernel routes to 169.254.169.254 (AWS EC2 instance metadata), returning IAM credentials.
Changes
`includes/class-apprise-client.php` — two locations patched:
Test plan