CVE-2024-29891 (GCVE-0-2024-29891)
Vulnerability from cvelistv5
Published
2024-03-27 19:18
Modified
2024-08-02 01:17
CWE
  • CWE-434 - Unrestricted Upload of File with Dangerous Type
Summary
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.
Impacted products
Vendor Product Version
zitadel zitadel Version: < 2.42.17
Version: >= 2.43.0, < 2.43.11
Version: >= 2.44.0, < 2.44.7
Version: >= 2.45.0, < 2.45.5
Version: >= 2.46.0, < 2.46.5
Version: >= 2.47.0, < 2.47.8
Version: >= 2.48.0, < 2.48.3
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-29891",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-03-28T18:36:06.675259Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-06-04T17:57:38.082Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T01:17:58.325Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "name": "https://github.com/zitadel/zitadel/security/advisories/GHSA-hr5w-cwwq-2v4m",
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://github.com/zitadel/zitadel/security/advisories/GHSA-hr5w-cwwq-2v4m"
          },
          {
            "name": "https://github.com/zitadel/zitadel/releases/tag/v2.42.17",
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://github.com/zitadel/zitadel/releases/tag/v2.42.17"
          },
          {
            "name": "https://github.com/zitadel/zitadel/releases/tag/v2.43.11",
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://github.com/zitadel/zitadel/releases/tag/v2.43.11"
          },
          {
            "name": "https://github.com/zitadel/zitadel/releases/tag/v2.44.7",
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://github.com/zitadel/zitadel/releases/tag/v2.44.7"
          },
          {
            "name": "https://github.com/zitadel/zitadel/releases/tag/v2.45.5",
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://github.com/zitadel/zitadel/releases/tag/v2.45.5"
          },
          {
            "name": "https://github.com/zitadel/zitadel/releases/tag/v2.46.5",
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://github.com/zitadel/zitadel/releases/tag/v2.46.5"
          },
          {
            "name": "https://github.com/zitadel/zitadel/releases/tag/v2.47.8",
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://github.com/zitadel/zitadel/releases/tag/v2.47.8"
          },
          {
            "name": "https://github.com/zitadel/zitadel/releases/tag/v2.48.3",
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://github.com/zitadel/zitadel/releases/tag/v2.48.3"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "zitadel",
          "vendor": "zitadel",
          "versions": [
            {
              "status": "affected",
              "version": "\u003c 2.42.17"
            },
            {
              "status": "affected",
              "version": "\u003e= 2.43.0, \u003c 2.43.11"
            },
            {
              "status": "affected",
              "version": "\u003e= 2.44.0, \u003c 2.44.7"
            },
            {
              "status": "affected",
              "version": "\u003e= 2.45.0, \u003c 2.45.5"
            },
            {
              "status": "affected",
              "version": "\u003e= 2.46.0, \u003c 2.46.5"
            },
            {
              "status": "affected",
              "version": "\u003e= 2.47.0, \u003c 2.47.8"
            },
            {
              "status": "affected",
              "version": "\u003e= 2.48.0, \u003c 2.48.3"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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\u0027s 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."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 8.7,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-434",
              "description": "CWE-434: Unrestricted Upload of File with Dangerous Type",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-03-27T19:18:08.078Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/zitadel/zitadel/security/advisories/GHSA-hr5w-cwwq-2v4m",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/zitadel/zitadel/security/advisories/GHSA-hr5w-cwwq-2v4m"
        },
        {
          "name": "https://github.com/zitadel/zitadel/releases/tag/v2.42.17",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/zitadel/zitadel/releases/tag/v2.42.17"
        },
        {
          "name": "https://github.com/zitadel/zitadel/releases/tag/v2.43.11",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/zitadel/zitadel/releases/tag/v2.43.11"
        },
        {
          "name": "https://github.com/zitadel/zitadel/releases/tag/v2.44.7",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/zitadel/zitadel/releases/tag/v2.44.7"
        },
        {
          "name": "https://github.com/zitadel/zitadel/releases/tag/v2.45.5",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/zitadel/zitadel/releases/tag/v2.45.5"
        },
        {
          "name": "https://github.com/zitadel/zitadel/releases/tag/v2.46.5",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/zitadel/zitadel/releases/tag/v2.46.5"
        },
        {
          "name": "https://github.com/zitadel/zitadel/releases/tag/v2.47.8",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/zitadel/zitadel/releases/tag/v2.47.8"
        },
        {
          "name": "https://github.com/zitadel/zitadel/releases/tag/v2.48.3",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/zitadel/zitadel/releases/tag/v2.48.3"
        }
      ],
      "source": {
        "advisory": "GHSA-hr5w-cwwq-2v4m",
        "discovery": "UNKNOWN"
      },
      "title": "ZITADEL Improper Content-Type Validation Leads to Account Takeover via Stored XSS + CSP Bypass"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2024-29891",
    "datePublished": "2024-03-27T19:18:08.078Z",
    "dateReserved": "2024-03-21T15:12:08.998Z",
    "dateUpdated": "2024-08-02T01:17:58.325Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://github.com/zitadel/zitadel/security/advisories/GHSA-hr5w-cwwq-2v4m\", \"name\": \"https://github.com/zitadel/zitadel/security/advisories/GHSA-hr5w-cwwq-2v4m\", \"tags\": [\"x_refsource_CONFIRM\", \"x_transferred\"]}, {\"url\": \"https://github.com/zitadel/zitadel/releases/tag/v2.42.17\", \"name\": \"https://github.com/zitadel/zitadel/releases/tag/v2.42.17\", \"tags\": [\"x_refsource_MISC\", \"x_transferred\"]}, {\"url\": \"https://github.com/zitadel/zitadel/releases/tag/v2.43.11\", \"name\": \"https://github.com/zitadel/zitadel/releases/tag/v2.43.11\", \"tags\": [\"x_refsource_MISC\", \"x_transferred\"]}, {\"url\": \"https://github.com/zitadel/zitadel/releases/tag/v2.44.7\", \"name\": \"https://github.com/zitadel/zitadel/releases/tag/v2.44.7\", \"tags\": [\"x_refsource_MISC\", \"x_transferred\"]}, {\"url\": \"https://github.com/zitadel/zitadel/releases/tag/v2.45.5\", \"name\": \"https://github.com/zitadel/zitadel/releases/tag/v2.45.5\", \"tags\": [\"x_refsource_MISC\", \"x_transferred\"]}, {\"url\": \"https://github.com/zitadel/zitadel/releases/tag/v2.46.5\", \"name\": \"https://github.com/zitadel/zitadel/releases/tag/v2.46.5\", \"tags\": [\"x_refsource_MISC\", \"x_transferred\"]}, {\"url\": \"https://github.com/zitadel/zitadel/releases/tag/v2.47.8\", \"name\": \"https://github.com/zitadel/zitadel/releases/tag/v2.47.8\", \"tags\": [\"x_refsource_MISC\", \"x_transferred\"]}, {\"url\": \"https://github.com/zitadel/zitadel/releases/tag/v2.48.3\", \"name\": \"https://github.com/zitadel/zitadel/releases/tag/v2.48.3\", \"tags\": [\"x_refsource_MISC\", \"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T01:17:58.325Z\"}}, {\"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-29891\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-03-28T18:36:06.675259Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-05-23T19:01:19.942Z\"}, \"title\": \"CISA ADP Vulnrichment\"}], \"cna\": {\"title\": \"ZITADEL Improper Content-Type Validation Leads to Account Takeover via Stored XSS + CSP Bypass\", \"source\": {\"advisory\": \"GHSA-hr5w-cwwq-2v4m\", \"discovery\": \"UNKNOWN\"}, \"metrics\": [{\"cvssV3_1\": {\"scope\": \"CHANGED\", \"version\": \"3.1\", \"baseScore\": 8.7, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"REQUIRED\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"NONE\", \"privilegesRequired\": \"LOW\", \"confidentialityImpact\": \"HIGH\"}}], \"affected\": [{\"vendor\": \"zitadel\", \"product\": \"zitadel\", \"versions\": [{\"status\": \"affected\", \"version\": \"\u003c 2.42.17\"}, {\"status\": \"affected\", \"version\": \"\u003e= 2.43.0, \u003c 2.43.11\"}, {\"status\": \"affected\", \"version\": \"\u003e= 2.44.0, \u003c 2.44.7\"}, {\"status\": \"affected\", \"version\": \"\u003e= 2.45.0, \u003c 2.45.5\"}, {\"status\": \"affected\", \"version\": \"\u003e= 2.46.0, \u003c 2.46.5\"}, {\"status\": \"affected\", \"version\": \"\u003e= 2.47.0, \u003c 2.47.8\"}, {\"status\": \"affected\", \"version\": \"\u003e= 2.48.0, \u003c 2.48.3\"}]}], \"references\": [{\"url\": \"https://github.com/zitadel/zitadel/security/advisories/GHSA-hr5w-cwwq-2v4m\", \"name\": \"https://github.com/zitadel/zitadel/security/advisories/GHSA-hr5w-cwwq-2v4m\", \"tags\": [\"x_refsource_CONFIRM\"]}, {\"url\": \"https://github.com/zitadel/zitadel/releases/tag/v2.42.17\", \"name\": \"https://github.com/zitadel/zitadel/releases/tag/v2.42.17\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/zitadel/zitadel/releases/tag/v2.43.11\", \"name\": \"https://github.com/zitadel/zitadel/releases/tag/v2.43.11\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/zitadel/zitadel/releases/tag/v2.44.7\", \"name\": \"https://github.com/zitadel/zitadel/releases/tag/v2.44.7\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/zitadel/zitadel/releases/tag/v2.45.5\", \"name\": \"https://github.com/zitadel/zitadel/releases/tag/v2.45.5\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/zitadel/zitadel/releases/tag/v2.46.5\", \"name\": \"https://github.com/zitadel/zitadel/releases/tag/v2.46.5\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/zitadel/zitadel/releases/tag/v2.47.8\", \"name\": \"https://github.com/zitadel/zitadel/releases/tag/v2.47.8\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/zitadel/zitadel/releases/tag/v2.48.3\", \"name\": \"https://github.com/zitadel/zitadel/releases/tag/v2.48.3\", \"tags\": [\"x_refsource_MISC\"]}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"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\u0027s 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.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-434\", \"description\": \"CWE-434: Unrestricted Upload of File with Dangerous Type\"}]}], \"providerMetadata\": {\"orgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"shortName\": \"GitHub_M\", \"dateUpdated\": \"2024-03-27T19:18:08.078Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-29891\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-08-02T01:17:58.325Z\", \"dateReserved\": \"2024-03-21T15:12:08.998Z\", \"assignerOrgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"datePublished\": \"2024-03-27T19:18:08.078Z\", \"assignerShortName\": \"GitHub_M\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…