X / xAI · Report #683298
XSS and Open Redirect on MoPub Login
Summary
Very simple open redirect made more impactful by the lack of filtering javascript URIs. Thanks again to the Twitter team for a quick response/bounty!
How it was found
Summary: I found open redirect at the MoPub login page, https://app.mopub.com/login?next=https://google.com. It also allows javascript URIs, leading to XSS.
Description: You can modify the "next" URL parameter to redirect to any website upon logging in on MoPub.
Steps To Reproduce:
- Take this URL: https://app.mopub.com/login?next=https://google.com
- Change "https://google.com" to whatever URL you want to redirect to.
- Visit the URL and login
- You will be redirected to that site
Impact: Outlined in Impact section below
Supporting Material/References:
Here's a proof of concept using the URL javascript:alert("proof of concept"): {F568245}
Impact
An attacker could use this for phishing, cookie jacking, etc. since it allows javascript URIs and therefore XSS vectors. Additionally, they could use URL encoding to hide the URL that the victim is being redirected to.