8.7
HIGH
CVE-2024-29891
ZITADEL Avatar Image Upload Cross-Site Scripting
Description

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.

INFO

Published Date :

March 27, 2024, 8:15 p.m.

Last Modified :

Jan. 8, 2025, 6:16 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.8

Exploitability Score :

2.3
Affected Products

The following products are affected by CVE-2024-29891 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Zitadel zitadel

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-29891 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-29891 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Jan. 08, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
    Added CWE NIST CWE-79
    Added CPE Configuration OR *cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:* versions up to (excluding) 2.42.17 *cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:* versions from (including) 2.43.0 up to (excluding) 2.43.11 *cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:* versions from (including) 2.44.0 up to (excluding) 2.44.7 *cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:* versions from (including) 2.45.0 up to (excluding) 2.45.5 *cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:* versions from (including) 2.46.0 up to (excluding) 2.46.5 *cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:* versions from (including) 2.47.0 up to (excluding) 2.47.8 *cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:* versions from (including) 2.48.0 up to (excluding) 2.48.3
    Changed Reference Type https://github.com/zitadel/zitadel/releases/tag/v2.42.17 No Types Assigned https://github.com/zitadel/zitadel/releases/tag/v2.42.17 Release Notes
    Changed Reference Type https://github.com/zitadel/zitadel/releases/tag/v2.42.17 No Types Assigned https://github.com/zitadel/zitadel/releases/tag/v2.42.17 Release Notes
    Changed Reference Type https://github.com/zitadel/zitadel/releases/tag/v2.43.11 No Types Assigned https://github.com/zitadel/zitadel/releases/tag/v2.43.11 Release Notes
    Changed Reference Type https://github.com/zitadel/zitadel/releases/tag/v2.43.11 No Types Assigned https://github.com/zitadel/zitadel/releases/tag/v2.43.11 Release Notes
    Changed Reference Type https://github.com/zitadel/zitadel/releases/tag/v2.44.7 No Types Assigned https://github.com/zitadel/zitadel/releases/tag/v2.44.7 Release Notes
    Changed Reference Type https://github.com/zitadel/zitadel/releases/tag/v2.44.7 No Types Assigned https://github.com/zitadel/zitadel/releases/tag/v2.44.7 Release Notes
    Changed Reference Type https://github.com/zitadel/zitadel/releases/tag/v2.45.5 No Types Assigned https://github.com/zitadel/zitadel/releases/tag/v2.45.5 Release Notes
    Changed Reference Type https://github.com/zitadel/zitadel/releases/tag/v2.45.5 No Types Assigned https://github.com/zitadel/zitadel/releases/tag/v2.45.5 Release Notes
    Changed Reference Type https://github.com/zitadel/zitadel/releases/tag/v2.46.5 No Types Assigned https://github.com/zitadel/zitadel/releases/tag/v2.46.5 Release Notes
    Changed Reference Type https://github.com/zitadel/zitadel/releases/tag/v2.46.5 No Types Assigned https://github.com/zitadel/zitadel/releases/tag/v2.46.5 Release Notes
    Changed Reference Type https://github.com/zitadel/zitadel/releases/tag/v2.47.8 No Types Assigned https://github.com/zitadel/zitadel/releases/tag/v2.47.8 Release Notes
    Changed Reference Type https://github.com/zitadel/zitadel/releases/tag/v2.47.8 No Types Assigned https://github.com/zitadel/zitadel/releases/tag/v2.47.8 Release Notes
    Changed Reference Type https://github.com/zitadel/zitadel/releases/tag/v2.48.3 No Types Assigned https://github.com/zitadel/zitadel/releases/tag/v2.48.3 Release Notes
    Changed Reference Type https://github.com/zitadel/zitadel/releases/tag/v2.48.3 No Types Assigned https://github.com/zitadel/zitadel/releases/tag/v2.48.3 Release Notes
    Changed Reference Type https://github.com/zitadel/zitadel/security/advisories/GHSA-hr5w-cwwq-2v4m No Types Assigned https://github.com/zitadel/zitadel/security/advisories/GHSA-hr5w-cwwq-2v4m Vendor Advisory
    Changed Reference Type https://github.com/zitadel/zitadel/security/advisories/GHSA-hr5w-cwwq-2v4m No Types Assigned https://github.com/zitadel/zitadel/security/advisories/GHSA-hr5w-cwwq-2v4m Vendor Advisory
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/zitadel/zitadel/releases/tag/v2.42.17
    Added Reference https://github.com/zitadel/zitadel/releases/tag/v2.43.11
    Added Reference https://github.com/zitadel/zitadel/releases/tag/v2.44.7
    Added Reference https://github.com/zitadel/zitadel/releases/tag/v2.45.5
    Added Reference https://github.com/zitadel/zitadel/releases/tag/v2.46.5
    Added Reference https://github.com/zitadel/zitadel/releases/tag/v2.47.8
    Added Reference https://github.com/zitadel/zitadel/releases/tag/v2.48.3
    Added Reference https://github.com/zitadel/zitadel/security/advisories/GHSA-hr5w-cwwq-2v4m
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Received by [email protected]

    Mar. 27, 2024

    Action Type Old Value New Value
    Added Description 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.
    Added Reference GitHub, Inc. https://github.com/zitadel/zitadel/security/advisories/GHSA-hr5w-cwwq-2v4m [No types assigned]
    Added Reference GitHub, Inc. https://github.com/zitadel/zitadel/releases/tag/v2.42.17 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/zitadel/zitadel/releases/tag/v2.43.11 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/zitadel/zitadel/releases/tag/v2.44.7 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/zitadel/zitadel/releases/tag/v2.45.5 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/zitadel/zitadel/releases/tag/v2.46.5 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/zitadel/zitadel/releases/tag/v2.47.8 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/zitadel/zitadel/releases/tag/v2.48.3 [No types assigned]
    Added CWE GitHub, Inc. CWE-434
    Added CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-29891 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability