GHSA-36mj-6r7r-mqhf: Ezsystems/ezplatform rest User Can Obtain JWT Token Vulnerability

HIGH
CWE-284
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-36mj-6r7r-mqhf
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-284: Improper Access Control
Affected Product Ezsystems/ezplatform rest
Package Ecosystem Packagist
Published Date
Last Updated

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.

ezsystems/ezplatform-rest fixed: 1.3.8
Upgrade ezsystems/ezplatform-rest to 1.3.8
Verify Direct and Transitive Dependencies

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

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

GHSA-36mj-6r7r-mqhf Affected Ezsystems/ezplatform rest Versions

1 component(s)
Fixed Versions:
1.3.8
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?
GHSA-36mj-6r7r-mqhf is a security vulnerability in Ezsystems/ezplatform rest involving User can obtain JWT token even if account is disabled under CWE-284: Improper Access Control.
Which Ezsystems/ezplatform rest versions are affected?
Affected versions include releases prior to 1.3.8 across affected packages: ezsystems/ezplatform-rest.
What version fixes GHSA-36mj-6r7r-mqhf?
Upgrading to 1.3.8 (or the latest patched release for your respective branch) resolves the vulnerability.
Is ezsystems/ezplatform-rest affected?
Yes, ezsystems/ezplatform-rest is affected in releases prior to 1.3.8. Upgrade your dependency to 1.3.8 or later.
What CWE is associated with GHSA-36mj-6r7r-mqhf?
GHSA-36mj-6r7r-mqhf is classified under CWE-284: Improper Access Control (The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.).
How can I check Packagist dependencies for GHSA-36mj-6r7r-mqhf?
Run the dependency tree command: 'inspect dependencies for ezsystems/ezplatform-rest'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}