fix: block IPv4-mapped IPv6 SSRF bypass (F-1 HIGH) #2
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
eric/apprise-wordpress-notifications!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