GHSA-36mj-6r7r-mqhf: Ezsystems/ezplatform rest User Can Obtain JWT Token Vulnerability
HIGHGHSA-36mj-6r7r-mqhf is a HIGH user can obtain jwt token vulnerability (CWE-284: Improper Access Control) affecting Ezsystems/ezplatform rest libraries in the Packagist ecosystem. The issue involves user can obtain jwt token even if account is disabled. Remediation is available by upgrading affected packages to version 1.3.8.
GHSA-36mj-6r7r-mqhf at a Glance
How to Fix GHSA-36mj-6r7r-mqhf
To remediate this vulnerability, upgrade all affected Ezsystems/ezplatform rest dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade ezsystems/ezplatform-rest to 1.3.8
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for ezsystems/ezplatform-rest
How to Check if You Are Affected
To determine whether your application is affected by GHSA-36mj-6r7r-mqhf, inspect your project dependencies for Ezsystems/ezplatform rest:
inspect dependencies for ezsystems/ezplatform-rest
Analyze the terminal output to locate any version of Ezsystems/ezplatform rest in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.3.8), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Ezsystems/ezplatform rest, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-36mj-6r7r-mqhf Affected Ezsystems/ezplatform rest Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ezsystems/ezplatform-rest
|
Packagist |
≥ 1.3.0
< 1.3.8
|
1.3.8
|
References
Frequently Asked Questions
What is GHSA-36mj-6r7r-mqhf?
Which Ezsystems/ezplatform rest versions are affected?
What version fixes GHSA-36mj-6r7r-mqhf?
Is ezsystems/ezplatform-rest affected?
What CWE is associated with GHSA-36mj-6r7r-mqhf?
How can I check Packagist dependencies for GHSA-36mj-6r7r-mqhf?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-36mj-6r7r-mqhf",
"modified" : "2021-09-28T21:21:08Z",
"published" : "2021-09-29T17:09:23Z",
"aliases" : [ ],
"summary" : "User can obtain JWT token even if account is disabled",
"details" : "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",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "ezsystems/ezplatform-rest"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.3.0"
}, {
"fixed" : "1.3.8"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/ezsystems/ezplatform-rest/security/advisories/GHSA-36mj-6r7r-mqhf"
}, {
"type" : "WEB",
"url" : "https://developers.ibexa.co/security-advisories/ibexa-sa-2021-007-jwt-auth-possible-for-disabled-users.-username-login-handler-can-t-be-disabled"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ezsystems/ezplatform-rest"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-284" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2021-09-28T21:21:08Z",
"nvd_published_at" : null
}
}