misc_pterodactyl-panel/app/Http/Controllers/Auth
Dane Everitt 8f5bd214a4
[Security] Address 2FA bypass in password reset functionality
Thanks to Trixter#0001 on Discord for this security report.

There was a two-factor authentication bypass present in all previous versions of Pterodactyl that would allow a user to login without providing a token by going through the password reset process. A person would still have to have access to the targeted account's email, but if they did manage to get a password reset link they would be able to reset the account password and then proceede to login without a token being required.

This logic has since been changed to check if 2FA is enabled on an account, and if so they will NOT be logged in when their password is changed. This will force them to continue through the normal login pathway where a token will be needed.

Overall the impact of this issue is minor, but I am still addressing it and disclosing the mechanism behind it.
2018-07-04 11:41:56 -07:00
..
ForgotPasswordController.php Push updates to login page, mostly UI enhancements. 2017-11-18 15:09:58 -06:00
LoginController.php Update to Laravel 5.5 () 2017-12-17 13:07:38 -06:00
ResetPasswordController.php [Security] Address 2FA bypass in password reset functionality 2018-07-04 11:41:56 -07:00