lanslord11 / BackButtonAbuse

This is a Proof of Concept on how the browser back button can be abused to mislead a user.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BackButtonAbuse

This is a Proof of Concept on how the browser back button can be abused to mislead a user.

Use Case

  • The user visits for example google.com and finds a link to our page
  • The user clicks on the link, gets sent to our website, but then presses the browsers back button
  • The user thinks that he is back at google.com again, instead he is still on our (phishing?) page

Fixes

The trick works for most browsers, only Chrome fixed this by requiring the user to first do a user interaction (i.e. a mouseclick). Therefore this script checks whether the page was accessed through a Chrome browser and then creates a fake cookie popup to make the user click.

Try it yourself

Visit the demo here 👉 here 👈 and try to click the back button

Resources

About

This is a Proof of Concept on how the browser back button can be abused to mislead a user.


Languages

Language:HTML 100.0%