misc_pterodactyl-panel/app
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
..
Console Merge pull request #1148 from pterodactyl/feature/doc-block-improvements 2018-05-20 16:25:59 -07:00
Contracts Send an email when a server is marked as installed (#1213) 2018-07-01 14:34:40 -07:00
Events Send an email when a server is marked as installed (#1213) 2018-07-01 14:34:40 -07:00
Exceptions Merge branch 'develop' into feature/api-integration-testing 2018-03-21 22:25:16 -05:00
Extensions Add nests & eggs 2018-01-27 12:38:56 -06:00
Http [Security] Address 2FA bypass in password reset functionality 2018-07-04 11:41:56 -07:00
Jobs Fix app/ spelling errors 2018-05-13 11:12:41 -04:00
Models Renamed the field and made some improvements 2018-05-31 16:34:35 +02:00
Notifications Send an email when a server is marked as installed (#1213) 2018-07-01 14:34:40 -07:00
Observers close #840 2017-12-30 20:25:04 -06:00
Policies Merge branch 'develop' into feature/api-v1 2018-01-21 14:31:32 -06:00
Providers Send an email when a server is marked as installed (#1213) 2018-07-01 14:34:40 -07:00
Repositories Don't verify SSL signatures in dev 2018-06-30 18:24:35 -07:00
Rules Fix User model validation behavior, closes #950 2018-02-18 13:29:28 -06:00
Services Fix links sent to users when accounts are created 2018-06-30 18:47:31 -07:00
Traits Apply fixes from StyleCI 2018-06-02 21:32:26 +00:00
Transformers Update php doc blocks 2018-05-13 12:42:11 -04:00
helpers.php Apply fixes from StyleCI (#735) 2017-11-05 13:59:51 -05:00