Identity Login Page Redirect Can Be Manipulated
The login page accepted a redirect_url parameter that could be altered to point to an arbitrary external site, so after a successful login the user was sent to that site instead of the intended application.
- Triaged in 6 hours
- Fixed in 15 days
- Paid in 6 hours
- Disclosed after 4 months
Summary by the program
The Identity.com login page could be manipulated to redirect the user to an arbitrary URL after a successful authentication.
Researcher POC
- I used this request to try login https://www.identity.com/signin?redirect_url=%2Foauth%2Fauthorize%3Fclient_id%3D241f887e145f09298fc7f3459cefa080cd7abd30b7b0192977b5bb72965e0583%26redirect_uri%3D%252Ftest-callback%26response_type%3Dcode%26scope%3Dname%2Bemail%2Bdob%26state%3DAPPLICATION_TEST
- I put %40google.com after redirect_url= so the endpoint was like this &redirect_url=%40google.com%2Fclient_id%253D241f887e145f09298fc7f3459cefa080cd7abd30b7b0192977b5bb72965e0583%2526redirect_uri%253D%25252Ftest-callback%2526response_type%253Dcode%2526scope%253Dname%252Bemail%252Bdob%2526state%253DAPPLICATION_TEST
- After a successfully login i redirect to google.com
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_url parameter pointed to an allowed internal path before using it for redirection after login.
Impact
An attacker could redirect a user to an arbitrary site after login.
What the attacker needed
Victim clicks a crafted login link; victim completes login
How it was found
- Start with the normal sign-in request that includes a redirect_url parameter.
- Modify the redirect_url value to point to an external domain.
- Complete a successful login.
- Observe that the browser is redirected to the external domain.
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.
The site trusted a value in the address bar to decide where to send you after login, and an attacker could change it to send you to another site.
What is Open redirect?
A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.