Lucene search

K
githubGitHub Advisory DatabaseGHSA-GP8G-F42F-95Q2
HistoryMar 28, 2024 - 5:07 p.m.

ZITADEL's actions can overload reserved claims

2024-03-2817:07:32
CWE-863
GitHub Advisory Database
github.com
12
zitadel
reserved claims
overload
patch
versions
security issue
disclosure

CVSS3

6.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

HIGH

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N

AI Score

6.7

Confidence

High

EPSS

0

Percentile

13.0%

Impact

Under certain circumstances an action could set reserved claims managed by ZITADEL.

For example it would be possible to set the claim urn:zitadel:iam:user:resourceowner:name

{"urn:zitadel:iam:user:resourceowner:name": "ACME"}

if it was not set by ZITADEL itself.

To compensate for this we introduced a protection that does prevent actions from changing claims that start with urn:zitadel:iam

Patches

2.x versions are fixed on >= 2.48.3
2.47.x versions are fixed on >= 2.47.8
2.46.x versions are fixed on >= 2.46.5
2.45.x versions are fixed on >= 2.45.5
2.44.x versions are fixed on >= 2.44.7
2.43.x versions are fixed on >= 2.43.11
2.42.x versions are fixed on >= 2.42.17

Workarounds

No workaround available since a patch is available

Credits

Many thanks to @schettn whose disclosure of another topic lead us to find this issue.

Affected configurations

Vulners
Node
zitadelzitadelRange2.48.02.48.3
OR
zitadelzitadelRange2.47.02.47.8
OR
zitadelzitadelRange2.46.02.46.5
OR
zitadelzitadelRange2.45.02.45.5
OR
zitadelzitadelRange2.44.02.44.7
OR
zitadelzitadelRange2.43.02.43.11
OR
zitadelzitadelRange<2.42.17
VendorProductVersionCPE
zitadelzitadel*cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:*

CVSS3

6.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

HIGH

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N

AI Score

6.7

Confidence

High

EPSS

0

Percentile

13.0%

Related for GHSA-GP8G-F42F-95Q2