2 ms·
Open redirects are a much more common issue than you'd think. For example, we use elasticemail.com to send out emails. They encourage [1][2] people to setup a
by latchkey 13y ago
Open redirects are a much more common issue than you'd think.
For example, we use elasticemail.com to send out emails. They encourage [1][2] people to setup a 'tracking' domain under your existing domain (ie: tracking.yourdomain.com). They then rewrite links in the emails that go out under their tracking domain. http://tracking.yourdomain.com/track?redirect=[youroriginallink] http://tracking.yourdomain.com/track?redirect=[youroriginall...
It turns out that their tracking service is effectively an open redirect and you've been encouraged by their documentation to setup the redirect. Now, if you have auth on your site via oauth2 (ie: facebook login), you've got a hole.
Something like this could easily be setup by the marketing department and the engineers wouldn't know anything about it.
Thanks to Egor Homakov for pointing this out to us.
[1] http://support.elasticemail.com/kb/general-faq/why-do-my-links-route-through-the-elasticemailcom-domain-and-then-get-redirected-to-the-destination-url
[2] http://elasticemail.com/post/what-is-a-custom-tracking-domain-and-why-is-it-important