Re:HTTP Response Splitting Vulnerability on reddit.com
by nbpoole on Saturday January 15, 2011 @08:41PM
(#2108347)
You're talking about what's known as an open redirect. And you're correct: those can definitely be used to make a phishing attack more effective. But as I mentioned, reddit only redirects users to reddit content: you need to provide a relative URL or use a reddit subdomain (eg: http://code.reddit.com) in the dest parameter.
goodsite.com/login?redirect=http://www.mybadsite.com
User logs in to Goodsite, and is redirected to a similar-looking page on Badsite.
One safer alternative would be to store the redirect URL in the session (presuming one is available) and read it back later.