CVE-2024-29891
published 2024-03-27CVE-2024-29891: ZITADEL users can upload their own avatar image and various image types are allowed. Due to a missing check, an attacker could upload HTML and pretend it is an…
PriorityP349high8.7CVSS 3.1
AVNACLPRLUIRSCCHIHAN
EPSS
0.76%
50.7th percentile
ZITADEL users can upload their own avatar image and various image types are allowed. Due to a missing check, an attacker could upload HTML and pretend it is an image to gain access to the victim's account in certain scenarios. A possible victim would need to directly open the supposed image in the browser, where a session in ZITADEL needs to be active for this exploit to work. The exploit could only be reproduced if the victim was using Firefox. Chrome, Safari as well as Edge did not execute the code. This vulnerability is fixed in 2.48.3, 2.47.8, 2.46.5, 2.45.5, 2.44.7, 2.43.11, and 2.42.17.
Affected
20 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| github.com | zitadel_zitadel | >= 0 < 2.42.17 | 2.42.17 |
| github.com | zitadel_zitadel | >= 2.43.0 < 2.43.11 | 2.43.11 |
| github.com | zitadel_zitadel | >= 2.44.0 < 2.44.7 | 2.44.7 |
| github.com | zitadel_zitadel | >= 2.45.0 < 2.45.5 | 2.45.5 |
| github.com | zitadel_zitadel | >= 2.46.0 < 2.46.5 | 2.46.5 |
| github.com | zitadel_zitadel | >= 2.47.0 < 2.47.8 | 2.47.8 |
| github.com | zitadel_zitadel | >= 2.48.0 < 2.48.3 | 2.48.3 |
| zitadel | zitadel | < 2.42.17 | 2.42.17 |
| zitadel | zitadel | — | — |
| zitadel | zitadel | — | — |
| zitadel | zitadel | — | — |
| zitadel | zitadel | — | — |
| zitadel | zitadel | — | — |
| zitadel | zitadel | — | — |
| zitadel | zitadel | >= 2.43.0 < 2.43.11 | 2.43.11 |
| zitadel | zitadel | >= 2.44.0 < 2.44.7 | 2.44.7 |
| zitadel | zitadel | >= 2.45.0 < 2.45.5 | 2.45.5 |
| zitadel | zitadel | >= 2.46.0 < 2.46.5 | 2.46.5 |
| zitadel | zitadel | >= 2.47.0 < 2.47.8 | 2.47.8 |
| zitadel | zitadel | >= 2.48.0 < 2.48.3 | 2.48.3 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
ZITADEL's Improper Content-Type Validation Leads to Account Takeover via Stored XSS + CSP Bypass in github.com/zitadel/zitadel
osv·2024-06-05
CVE-2024-29891 ZITADEL's Improper Content-Type Validation Leads to Account Takeover via Stored XSS + CSP Bypass in github.com/zitadel/zitadel
ZITADEL's Improper Content-Type Validation Leads to Account Takeover via Stored XSS + CSP Bypass in github.com/zitadel/zitadel
ZITADEL's Improper Content-Type Validation Leads to Account Takeover via Stored XSS + CSP Bypass in github.com/zitadel/zitadel.
NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.
(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)
The additional affected modules and versions are: github.com/zitadel/zitadel before v2.42.17, from v2.43.0 before v2.43.11, from v2.44.0 before v2.44.7, from v2.45.0 before v2.45.5, from v2.46.0 before v2.46.5, from v2.47.0 before v2.47.8, from v2.48.0 before v2.48.3.
GHSA
ZITADEL's Improper Content-Type Validation Leads to Account Takeover via Stored XSS + CSP Bypass
ghsa·2024-03-28
CVE-2024-29891 [HIGH] CWE-434 ZITADEL's Improper Content-Type Validation Leads to Account Takeover via Stored XSS + CSP Bypass
ZITADEL's Improper Content-Type Validation Leads to Account Takeover via Stored XSS + CSP Bypass
### Impact
ZITADEL users can upload their own avatar image and various image types are allowed.
Due to a missing check, an attacker could upload HTML and pretend it is an image to gain access to the victim's account in certain scenarios.
A possible victim would need to directly open the supposed image in the browser, where a session in ZITADEL needs to be active for this exploit to work.
The exploit could only be reproduced if the victim was using Firefox. Chrome, Safari as well as Edge did not execute the code.
### Patches
2.x versions are fixed on >= [2.48.3](https://github.com/zitadel/zitadel/releases/tag/v2.48.3)
2.47.x versions are fixed on >= [2.47.8](https://github.com/zitadel/zita
OSV
ZITADEL's Improper Content-Type Validation Leads to Account Takeover via Stored XSS + CSP Bypass
osv·2024-03-28
CVE-2024-29891 [HIGH] ZITADEL's Improper Content-Type Validation Leads to Account Takeover via Stored XSS + CSP Bypass
ZITADEL's Improper Content-Type Validation Leads to Account Takeover via Stored XSS + CSP Bypass
### Impact
ZITADEL users can upload their own avatar image and various image types are allowed.
Due to a missing check, an attacker could upload HTML and pretend it is an image to gain access to the victim's account in certain scenarios.
A possible victim would need to directly open the supposed image in the browser, where a session in ZITADEL needs to be active for this exploit to work.
The exploit could only be reproduced if the victim was using Firefox. Chrome, Safari as well as Edge did not execute the code.
### Patches
2.x versions are fixed on >= [2.48.3](https://github.com/zitadel/zitadel/releases/tag/v2.48.3)
2.47.x versions are fixed on >= [2.47.8](https://github.com/zitadel/zita
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/zitadel/zitadel/releases/tag/v2.42.17https://github.com/zitadel/zitadel/releases/tag/v2.43.11https://github.com/zitadel/zitadel/releases/tag/v2.44.7https://github.com/zitadel/zitadel/releases/tag/v2.45.5https://github.com/zitadel/zitadel/releases/tag/v2.46.5https://github.com/zitadel/zitadel/releases/tag/v2.47.8https://github.com/zitadel/zitadel/releases/tag/v2.48.3https://github.com/zitadel/zitadel/security/advisories/GHSA-hr5w-cwwq-2v4mhttps://github.com/zitadel/zitadel/releases/tag/v2.42.17https://github.com/zitadel/zitadel/releases/tag/v2.43.11https://github.com/zitadel/zitadel/releases/tag/v2.44.7https://github.com/zitadel/zitadel/releases/tag/v2.45.5https://github.com/zitadel/zitadel/releases/tag/v2.46.5https://github.com/zitadel/zitadel/releases/tag/v2.47.8https://github.com/zitadel/zitadel/releases/tag/v2.48.3https://github.com/zitadel/zitadel/security/advisories/GHSA-hr5w-cwwq-2v4m
2024-03-27
Published