Open Url redirection on login with facebook
The login flow with Facebook accepted a redirect parameter and sent the user to an arbitrary external site after registration. An attacker could craft a link that redirects victims to a malicious site after they complete the Facebook login.
- Disclosed after 2 months
steps to produce: 1, go to the site imgur.com and login with facebook and if you are new user then u must be asked for username on the link https://imgur.com/register/thirdparty/facebook?redirect=http://imgur.com/
nw just change the parameter redirect= value to https://google.com and hit enter and give username and click next and you will redirected to google
Regards Dipak
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application did not validate that the redirect parameter pointed to an allowed domain before sending the user there.
Impact
An attacker could redirect users to an arbitrary external site after they complete Facebook login.
What the attacker needed
Victim clicks a crafted link; victim logs in with Facebook; new user registration flow
How it was found
- Go to the site and start logging in with Facebook as a new user.
- The registration page includes a redirect parameter in the URL.
- Change the redirect parameter value to an external site such as Google.
- Enter a username and click next.
- The browser is redirected to the external site.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
When you log in with Facebook on a site, a redirect parameter decides where you go next. If the site does not check that address, an attacker can change it to another site, and after logging in you are sent there.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.