Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vulnerable to login/logout CSRF #52

Open
brodygov opened this issue Mar 7, 2019 · 0 comments
Open

Vulnerable to login/logout CSRF #52

brodygov opened this issue Mar 7, 2019 · 0 comments

Comments

@brodygov
Copy link
Contributor

brodygov commented Mar 7, 2019

The app is entirely stateless and doesn't check the state or nonce parameters to double check that a received login request actually originated with this sample app.

As a result, an attacker who can convince a user to follow a link will be able to cause them to log in to the sample app even without directly visiting it first.

This has low impact even for production service providers, but it would still be good to set a better example here.

This is referenced in mastiffwasp-7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant