Skip to content

GraphQL queries can expose password hashes

Critical severity GitHub Reviewed Published Nov 10, 2022 in ibexa/graphql • Updated Jan 7, 2023

Package

composer ibexa/graphql (Composer)

Affected versions

>= 2.5.0, < 2.5.31
>= 4.2.0, < 4.2.3
>= 3.3.0, < 3.3.28

Patched versions

2.5.31
4.2.3
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.

References

@glye glye published to ibexa/graphql Nov 10, 2022
Published to the GitHub Advisory Database Nov 10, 2022
Reviewed Nov 10, 2022
Last updated Jan 7, 2023

Severity

Critical

Weaknesses

CVE ID

No known CVE

GHSA ID

GHSA-3p7g-wrgg-wq45

Source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.