User can obtain JWT token even if account is disabled
High severity
GitHub Reviewed
Published
Sep 28, 2021
in
ezsystems/ezplatform-rest
•
Updated Jan 9, 2023
Package
Affected versions
>= 1.3.0, < 1.3.8
Patched versions
1.3.8
Description
Reviewed
Sep 28, 2021
Published to the GitHub Advisory Database
Sep 29, 2021
Last updated
Jan 9, 2023
Users can authenticate this way even if their user account is disabled. This is a high risk vulnerability when account disabling is used to block users' access to the system. (Someone who never had an account cannot exploit this vulnerability.) The fix ensures tokens are generated only for enabled user accounts, and is distributed via Composer as ezsystems/ezplatform-rest v1.3.8
References