Headline
CVE-2021-3944: Prevented auto-login from direct email confirmation actions · BookStackApp/BookStack@88e6f93
bookstack is vulnerable to Cross-Site Request Forgery (CSRF)
Permalink
Browse files
Prevented auto-login from direct email confirmation actions
Was done for convenience but could potentially be exploited by an attacker using signing up via one of these routes, then forwarding an email confirmation to another user so they unknowingly utilise an account someone else controls.
Tweaks the flow of confirming email, and the user invite flow.
For #3050
- Loading branch information
Showing with 9 additions and 14 deletions.
- +1 −2 app/Http/Controllers/Auth/ConfirmEmailController.php
- +3 −7 app/Http/Controllers/Auth/UserInviteController.php
- +2 −2 resources/lang/en/auth.php
- +2 −2 tests/Auth/AuthTest.php
- +1 −1 tests/Auth/UserInviteTest.php