Summary by mohammadowais
Appending "/%2fanything.com/test/" to the host value resulted in embedding desired links to external hosts on the Opera domain.
Appending "/%2fanything.com/test/" to the host value resulted in embedding desired links to external hosts on the Opera domain.
accounts.yoyogames.com
API Testing
accounts.yoyogames.com
Hi,
I found out that a logout's link can be hijacked and could lead to open redirection.
Login to https://accounts.yoyogames.com/ from mobile or if will replicate this on Desktop, minimise your window a bit (about to a half) so that you will see navigation tabs.
Go to the affected URL:
https://accounts.yoyogames.com//%2fevil.com/test/
Open "Logout" in new tab. You'll visit evil.com in new tab.
An endpoint like this: https://accounts.yoyogames.com//%2fevil.com/test/ ; will reflect this in page source:
<li><a data-controller="logout" data-action="logout#submitLogoutForm" href="//evil.com/test">Logout</a></li>
This means the navigation link for logout will be set to attacker's controlled site.
Mere clicking on it will not result into redirection since logout doesn't happen with the GET request on /logout; opening the logout in new tab will lead victim to attacker's controlled site.
Kind and Best Regards,
-MO