by ISV_Damocles · 2y ago · 0 comments
UI:
"billing@paypal.com: we never seen this sender before, be careful"
"billing@paypal.com: this is verified to be the same sender"
"billing@paypal.com: ACHTUNG! THIS IS SOMEONE ELSE"
You can of course still manually add keys, and you can even do automatic or semi-automatic key rotation with some new header (e.g. "X-New-Key: [...]" that's signed with the old).Headers aren't part of an encrypted or authenticated body, so this is trivial to perform a key replacement attack against.
DKIM can be leveraged for that, although DKIM is one hell of a gun to give someone to shoot themselves.
If you're connecting to an SSH server for the first time and don't already have a pre-established host fingerprint, then yes: someone who controls your server's DNS records can redirect you to another SSH host, which you'll then (presumably) enter your password into.