GHSA-3p7g-wrgg-wq45: Ibexa/graphql GraphQL Queries Can Expose Password Vulnerability

CRITICAL
CWE-916
Published
Advisory Summary

GHSA-3p7g-wrgg-wq45 is a CRITICAL graphql queries can expose password vulnerability (CWE-916: Use of Password Hash With Insufficient Computational Effort) affecting Ibexa/graphql libraries in the Packagist ecosystem. The issue involves graphql queries can expose password hashes. Remediation is available by upgrading affected packages to version 2.5.31, 4.2.3, 3.3.28.

GHSA-3p7g-wrgg-wq45 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-3p7g-wrgg-wq45
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification CWE-916: Use of Password Hash With Insufficient Computational Effort
Affected Product Ibexa/graphql
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix GHSA-3p7g-wrgg-wq45

To remediate this vulnerability, upgrade all affected Ibexa/graphql dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

ibexa/graphql fixed: 2.5.31
Upgrade ibexa/graphql to 2.5.31
ibexa/graphql fixed: 4.2.3
Upgrade ibexa/graphql to 4.2.3
ibexa/graphql fixed: 3.3.28
Upgrade ibexa/graphql to 3.3.28
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 ibexa/graphql

How to Check if You Are Affected

To determine whether your application is affected by GHSA-3p7g-wrgg-wq45, inspect your project dependencies for Ibexa/graphql:

inspect dependencies for ibexa/graphql

Analyze the terminal output to locate any version of Ibexa/graphql in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.5.31), 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-916: Use of Password Hash With Insufficient Computational Effort, where the product generates a hash for a password, but it uses a scheme that does not provide a sufficient level of computational effort that would make password cracking attacks infeasible or expensive. In Ibexa/graphql, 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

### Impact Unauthenticated GraphQL queries for user accounts can expose password hashes of users that have created or modified content, typically but not necessarily limited to administrators and editors. ### Patches Affected versions: Ibexa DXP v3.3.\*, v4.2.\*, eZ Platform v2.5.\* Resolving versions: Ibexa DXP v3.3.28, v4.2.3, eZ Platform v2.5.31 ### Workarounds Remove the "passwordHash" entry from "src/bundle/Resources/config/graphql/User.types.yaml" in the GraphQL package, and other properties like hash type, email, login if you prefer. ### References This issue was reported to us by Philippe Tranca ("trancap") of the company Lexfo. We are very grateful for their research, and responsible disclosure to us of this critical vulnerability. ### For more information If you have any questions or comments about this advisory, please contact Support via your service portal.

GHSA-3p7g-wrgg-wq45 Affected Ibexa/graphql Versions

3 component(s)
Fixed Versions:
2.5.314.2.33.3.28
Product / Package Ecosystem Affected Versions Fixed Version
ibexa/graphql
Packagist
≥ 2.5.0
< 2.5.31
2.5.31
ibexa/graphql
Packagist
≥ 4.2.0
< 4.2.3
4.2.3
ibexa/graphql
Packagist
≥ 3.3.0
< 3.3.28
3.3.28

References

Frequently Asked Questions

What is GHSA-3p7g-wrgg-wq45?
GHSA-3p7g-wrgg-wq45 is a security vulnerability in Ibexa/graphql involving GraphQL queries can expose password hashes under CWE-916: Use of Password Hash With Insufficient Computational Effort.
Which Ibexa/graphql versions are affected?
Affected versions include releases prior to 2.5.31, 4.2.3, 3.3.28 across affected packages: ibexa/graphql.
What version fixes GHSA-3p7g-wrgg-wq45?
Upgrading to 2.5.31, 4.2.3, 3.3.28 (or the latest patched release for your respective branch) resolves the vulnerability.
Is ibexa/graphql affected?
Yes, ibexa/graphql is affected in releases prior to 2.5.31, 4.2.3, 3.3.28. Upgrade your dependency to 2.5.31, 4.2.3, 3.3.28 or later.
What CWE is associated with GHSA-3p7g-wrgg-wq45?
GHSA-3p7g-wrgg-wq45 is classified under CWE-916: Use of Password Hash With Insufficient Computational Effort (The product generates a hash for a password, but it uses a scheme that does not provide a sufficient level of computational effort that would make password cracking attacks infeasible or expensive.).
How can I check Packagist dependencies for GHSA-3p7g-wrgg-wq45?
Run the dependency tree command: 'inspect dependencies for ibexa/graphql'. 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-3p7g-wrgg-wq45",
  "modified" : "2022-11-10T21:35:49Z",
  "published" : "2022-11-10T21:35:49Z",
  "aliases" : [ ],
  "summary" : "GraphQL queries can expose password hashes",
  "details" : "### Impact\nUnauthenticated GraphQL queries for user accounts can expose password hashes of users that have created or modified content, typically but not necessarily limited to administrators and editors.\n\n### Patches\nAffected versions: Ibexa DXP v3.3.\\*, v4.2.\\*, eZ Platform v2.5.\\*\nResolving versions: Ibexa DXP v3.3.28, v4.2.3, eZ Platform v2.5.31\n\n### Workarounds\nRemove the \"passwordHash\" entry from \"src/bundle/Resources/config/graphql/User.types.yaml\" in the GraphQL package, and other properties like hash type, email, login if you prefer.\n\n### References\n\nThis issue was reported to us by Philippe Tranca (\"trancap\") of the company Lexfo. We are very grateful for their research, and responsible disclosure to us of this critical vulnerability. \n\n### For more information\nIf you have any questions or comments about this advisory, please contact Support via your service portal.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ibexa/graphql"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.5.0"
      }, {
        "fixed" : "2.5.31"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ibexa/graphql"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.2.0"
      }, {
        "fixed" : "4.2.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ibexa/graphql"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.3.0"
      }, {
        "fixed" : "3.3.28"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/ibexa/graphql/security/advisories/GHSA-3p7g-wrgg-wq45"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ibexa/graphql/commit/5ae5fb4d1d292ddde8528e040ef8a7c8dd7f9c6d"
  }, {
    "type" : "WEB",
    "url" : "https://developers.ibexa.co/security-advisories/ibexa-sa-2022-009-critical-vulnerabilities-in-graphql-role-assignment-ct-editing-and-drafts-tooltips"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ibexa/graphql"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-916" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-11-10T21:35:49Z",
    "nvd_published_at" : null
  }
}