Thanks for posting about this. I'm not a backend developer so I actually had no idea how this type of attack until mptfire opened the PR on the repo
Ill try to do better with staying on top of things like this when building servers. I've also added a warning about this in the BUD-04 document
GitHub
fix(mirror): harden SSRF guard — IPv6 matrix, DNS resolve-validate, redirect re-validation by mptfire · Pull Request #57 · hzrd149/blossom-server
Motivation
The current SSRF guard checks literal hostnames only: isPrivateIPv4(hostname). Two bypasses exist: (1) a hostname like localtest.me (DNS...