GitHub Advisoryadvisory · Packagist
GHSA-3p7g-wrgg-wq45 GraphQL queries can expose password hashes
CRITICAL
Official page ↗
- Ecosystem
- Packagist
- Packages
- ibexa/graphql
- Severity
- Critical
- Weaknesses
- CWE-916
- Reviewed
- 2022-11-10
Affected packages
• Packagist ibexa/graphql: >= 2.5.0, < 2.5.31 → fixed in 2.5.31
• Packagist ibexa/graphql: >= 4.2.0, < 4.2.3 → fixed in 4.2.3
• Packagist ibexa/graphql: >= 3.3.0, < 3.3.28 → fixed in 3.3.28
Description
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.
Related
Weakness · CWE (1)
- CWE-916 Use of Password Hash With Insufficient Computational Effort weakness
References
- https://github.com/ibexa/graphql/security/advisories/GHSA-3p7g-wrgg-wq45 web
- https://github.com/ibexa/graphql/commit/5ae5fb4d1d292ddde8528e040ef8a7c8dd7f9c6d web
- https://developers.ibexa.co/security-advisories/ibexa-sa-2022-009-critical-vulnerabilities-in-graphql-role-assignment-ct-editing-and-drafts-tooltips web
- https://github.com/ibexa/graphql package