ezplatform-graphql GraphQL queries can expose password hashes
The advisory, in context
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
Resolving versions: Ibexa DXP v1.0.13, v2.3.12
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.
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
From 1.0.0-rc1 before 1.0.13
Fixed in 1.0.13
17 explicitly affected versions
v1.0.0, v1.0.0-rc1, v1.0.0-rc2, v1.0.0-rc3, v1.0.1, v1.0.10, v1.0.11, v1.0.12, v1.0.2, v1.0.3, v1.0.4-rc1, v1.0.5, v1.0.6, v1.0.6-rc1, v1.0.7, v1.0.8, v1.0.9
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "1.0.0-rc1"
},
{
"fixed": "1.0.13"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v1.0.0",
"v1.0.0-rc1",
"v1.0.0-rc2",
"v1.0.0-rc3",
"v1.0.1",
"v1.0.10",
"v1.0.11",
"v1.0.12",
"v1.0.2",
"v1.0.3",
"v1.0.4-rc1",
"v1.0.5",
"v1.0.6",
"v1.0.6-rc1",
"v1.0.7",
"v1.0.8",
"v1.0.9"
]
}From 2.0.0-beta1 before 2.3.12
Fixed in 2.3.12
34 explicitly affected versions
v2.0.0, v2.0.0-beta1, v2.0.0-beta2, v2.0.0-beta3, v2.0.0-beta4, v2.0.0-beta5, v2.0.0-rc1, v2.0.1, v2.1.0, v2.1.0-beta1, v2.1.0-rc1, v2.1.1, v2.2.0, v2.2.0-beta1, v2.2.0-rc1, v2.2.1, v2.2.2, v2.2.3, v2.3.0, v2.3.0-beta1, v2.3.0-rc1, v2.3.0-rc2, v2.3.1, v2.3.10, v2.3.11, v2.3.2, v2.3.3, v2.3.3.1, v2.3.4, v2.3.5, v2.3.6, v2.3.7, v2.3.8, v2.3.9
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.0.0-beta1"
},
{
"fixed": "2.3.12"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v2.0.0",
"v2.0.0-beta1",
"v2.0.0-beta2",
"v2.0.0-beta3",
"v2.0.0-beta4",
"v2.0.0-beta5",
"v2.0.0-rc1",
"v2.0.1",
"v2.1.0",
"v2.1.0-beta1",
"v2.1.0-rc1",
"v2.1.1",
"v2.2.0",
"v2.2.0-beta1",
"v2.2.0-rc1",
"v2.2.1",
"v2.2.2",
"v2.2.3",
"v2.3.0",
"v2.3.0-beta1",
"v2.3.0-rc1",
"v2.3.0-rc2",
"v2.3.1",
"v2.3.10",
"v2.3.11",
"v2.3.2",
"v2.3.3",
"v2.3.3.1",
"v2.3.4",
"v2.3.5",
"v2.3.6",
"v2.3.7",
"v2.3.8",
"v2.3.9"
]
}References
- https://github.com/ezsystems/ezplatform-graphql/security/advisories/GHSA-c7pc-pgf6-mfh5
- https://nvd.nist.gov/vuln/detail/CVE-2022-41876
- https://developers.ibexa.co/security-advisories/ibexa-sa-2022-009-critical-vulnerabilities-in-graphql-role-assignment-ct-editing-and-drafts-tooltips
- https://github.com/ezsystems/ezplatform-graphql