GitHub Advisoryadvisory · Packagist

GHSA-36mj-6r7r-mqhf User can obtain JWT token even if account is disabled

HIGH Published 2021-09-29 Modified 2021-09-28 Official page ↗
Ecosystem
Packagist
Packages
ezsystems/ezplatform-rest
Severity
High
Weaknesses
CWE-284
Reviewed
2021-09-28

Affected packages

• Packagist ezsystems/ezplatform-rest: >= 1.3.0, < 1.3.8 → fixed in 1.3.8

Description

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

Related

Weakness · CWE (1)

  • CWE-284 Improper Access Control weakness

References