Vulnerability · Published Nov 30, 2023 · Assigned by GitHub_M
CVE-2023-49097ZITADEL vulnerable account takeover via malicious host header injection
High 8.1
In plain English
A high-severity security flaw in zitadel from zitadel. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
ZITADEL is an identity infrastructure system. ZITADEL uses the notification triggering requests Forwarded or X-Forwarded-Host header to build the button link sent in emails for confirming a password reset with the emailed code. If this header is overwritten and a user clicks the link to a malicious site in the email, the secret code can be retrieved and used to reset the users password and take over his account. Accounts with MFA or Passwordless enabled can not be taken over by this attack. This issue has been patched in versions 2.41.6, 2.40.10 and 2.39.9.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/zitadel/zitadel | 2.39.9 | GHSA-2wmj-46rj-qm2w |
| Go | github.com/zitadel/zitadel | 2.40.10 | GHSA-2wmj-46rj-qm2w |
| Go | github.com/zitadel/zitadel | 2.41.6 | GHSA-2wmj-46rj-qm2w |
Affected products (as reported)
Weakness: CWE-640 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
References
- https://github.com/zitadel/zitadel/security/advisories/GHSA-2wmj-46rj-qm2w x_refsource_CONFIRM