Sign inSign up

xploiterd/tokenbypass

By xploiterd

•Updated about 1 year ago

lab to test CORS with CSRF

Image
0

1.0K

xploiterd/tokenbypass repository overview

⁠🛡️ CSRF & Insecure CORS Exploit Lab – Email Change Vulnerability

This lab demonstrates how an attacker can exploit Cross-Site Request Forgery (CSRF) and Insecure CORS configuration to change the email address of a logged-in user.

GitHub - https://github.com/Rounak999/tokenbypass⁠


⁠🎯 Objective

Exploit a vulnerability where:

  • A CSRF token is generated per account and refreshed on every /account page load.
  • The application validates CSRF tokens on all update requests.

Your goal is to perform a cross-origin email change without the user’s consent while they're logged in.

⚠️ Note: If the exploit does not work in the latest Firefox, try using an older version of Firefox or Chrome.


⁠🚀 Run the Lab via Docker

Start the lab locally using:

docker pull xploiterd/tokenbypass
docker run -p 8000:8000 xploiterd/tokenbypass

Tag summary

Content type

Image

Digest

sha256:a83eeeaed…

Size

65.6 MB

Last updated

about 1 year ago

docker pull xploiterd/tokenbypass