Tokens in CTFd used for account activation and password...
Moderate severity
Unreviewed
Published
Jan 2, 2025
to the GitHub Advisory Database
•
Updated Jan 2, 2025
Description
Published by the National Vulnerability Database
Jan 2, 2025
Published to the GitHub Advisory Database
Jan 2, 2025
Last updated
Jan 2, 2025
Tokens in CTFd used for account activation and password resetting can be used interchangeably for these operations. When used, they are sent to the server as a GET parameter and they are not single use, which means, that during token expiration time an on-path attacker might reuse such a token to change user's password and take over the account. Moreover, the tokens also include base64 encoded user email.
This issue impacts releases up to 3.7.4 and was addressed by pull request 2679 CTFd/CTFd#2679 included in 3.7.5 release.
References