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

Protect auth endpoints against CSRF login attacks #5099

Merged
merged 1 commit into from
Sep 29, 2021

Conversation

OmeGak
Copy link
Member

@OmeGak OmeGak commented Sep 29, 2021

Indico seems to be vulnerable to CSRF login attacks per OWASP Cross Site Request Forgery article:

An attacker can use CSRF to obtain the victim’s private data via a special form of the attack, known as login CSRF. The attacker forces a non-authenticated user to log in to an account the attacker controls.

This PR protects authentication endpoints against CSRF.

@ThiefMaster ThiefMaster merged commit 0c0b708 into indico:3.0.x Sep 29, 2021
@ThiefMaster ThiefMaster deleted the wip/csrf-login branch September 29, 2021 11:17
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

Successfully merging this pull request may close these issues.

2 participants