GHSA-3p7g-wrgg-wq45 GraphQL queries can expose password hashes
Unauthenticated GraphQL queries expose user password hashes, allowing attackers to potentially crack credentials for content creators and administrators.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-3p7g-wrgg-wq45?
GHSA-3p7g-wrgg-wq45 is a vulnerability in ibexa/graphql, published on 10 Nov 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by GHSA-3p7g-wrgg-wq45?
6 open source packages ship an affected version, including ibexa/graphql.
| Package | Affected | Fixed in |
|---|---|---|
ibexa/graphql Packagist | From 2.5.0 | 2.5.31 |
ibexa/graphql Packagist | From 2.5.0 | 2.5.31 |
ibexa/graphql Packagist | From 3.3.0 | 3.3.28 |
ibexa/graphql Packagist | From 3.3.0 | 3.3.28 |
ibexa/graphql Packagist | From 4.2.0 | 4.2.3 |
ibexa/graphql Packagist | From 4.2.0 | 4.2.3 |
How do I fix GHSA-3p7g-wrgg-wq45?
Upgrade ibexa/graphql to a fixed version for your release line: 2.5.31, 3.3.28 or 4.2.3.
Is GHSA-3p7g-wrgg-wq45 being exploited?
There is no known exploitation of GHSA-3p7g-wrgg-wq45 in the wild and no public exploit code.