FKIE_CVE-2024-28855

Vulnerability from fkie_nvd - Published: 2024-03-18 22:15 - Updated: 2025-01-08 18:14
Summary
ZITADEL, open source authentication management software, uses Go templates to render the login UI. Due to a improper use of the `text/template` instead of the `html/template` package, the Login UI did not sanitize input parameters prior to versions 2.47.3, 2.46.1, 2.45.1, 2.44.3, 2.43.9, 2.42.15, and 2.41.15. An attacker could create a malicious link, where he injected code which would be rendered as part of the login screen. While it was possible to inject HTML including JavaScript, the execution of such scripts would be prevented by the Content Security Policy. Versions 2.47.3, 2.46.1, 2.45.1, 2.44.3, 2.43.9, 2.42.15, and 2.41.15 contain a patch for this issue. No known workarounds are available.
References
security-advisories@github.comhttps://github.com/zitadel/zitadel/releases/tag/v2.41.15Release Notes
security-advisories@github.comhttps://github.com/zitadel/zitadel/releases/tag/v2.42.15Release Notes
security-advisories@github.comhttps://github.com/zitadel/zitadel/releases/tag/v2.43.9Release Notes
security-advisories@github.comhttps://github.com/zitadel/zitadel/releases/tag/v2.44.3Release Notes
security-advisories@github.comhttps://github.com/zitadel/zitadel/releases/tag/v2.45.1Release Notes
security-advisories@github.comhttps://github.com/zitadel/zitadel/releases/tag/v2.46.1Release Notes
security-advisories@github.comhttps://github.com/zitadel/zitadel/releases/tag/v2.47.3Release Notes
security-advisories@github.comhttps://github.com/zitadel/zitadel/security/advisories/GHSA-hfrg-4jwr-jfpjVendor Advisory
af854a3a-2127-422b-91ae-364da2661108https://github.com/zitadel/zitadel/releases/tag/v2.41.15Release Notes
af854a3a-2127-422b-91ae-364da2661108https://github.com/zitadel/zitadel/releases/tag/v2.42.15Release Notes
af854a3a-2127-422b-91ae-364da2661108https://github.com/zitadel/zitadel/releases/tag/v2.43.9Release Notes
af854a3a-2127-422b-91ae-364da2661108https://github.com/zitadel/zitadel/releases/tag/v2.44.3Release Notes
af854a3a-2127-422b-91ae-364da2661108https://github.com/zitadel/zitadel/releases/tag/v2.45.1Release Notes
af854a3a-2127-422b-91ae-364da2661108https://github.com/zitadel/zitadel/releases/tag/v2.46.1Release Notes
af854a3a-2127-422b-91ae-364da2661108https://github.com/zitadel/zitadel/releases/tag/v2.47.3Release Notes
af854a3a-2127-422b-91ae-364da2661108https://github.com/zitadel/zitadel/security/advisories/GHSA-hfrg-4jwr-jfpjVendor Advisory
Impacted products

{
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "FFD391D1-3498-46AB-B74F-5EAB21A2E33C",
              "versionEndExcluding": "2.41.15",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "A9A5738D-E435-4BC1-8B95-50C8DCE2A82C",
              "versionEndExcluding": "2.42.15",
              "versionStartIncluding": "2.42.0",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "6A5FC2D7-DF8A-48ED-98B3-48B85DD5FE18",
              "versionEndExcluding": "2.43.9",
              "versionStartIncluding": "2.43.0",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "44939A24-65F7-4D03-805E-585F2AEC7A31",
              "versionEndExcluding": "2.44.3",
              "versionStartIncluding": "2.44.0",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "345DE50B-483E-4B0F-A391-E68BEF04AF2E",
              "versionEndExcluding": "2.47.4",
              "versionStartIncluding": "2.47.0",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:zitadel:zitadel:2.45.0:-:*:*:*:*:*:*",
              "matchCriteriaId": "CDF0C992-982C-4963-BFE4-1592B681D69E",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:zitadel:zitadel:2.45.0:rc1:*:*:*:*:*:*",
              "matchCriteriaId": "BDA3827B-80DF-4A2A-A103-97FE37352090",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:zitadel:zitadel:2.46.0:-:*:*:*:*:*:*",
              "matchCriteriaId": "B3FE712E-6B93-4374-A2A8-8A6C51007F1D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:zitadel:zitadel:2.46.0:rc1:*:*:*:*:*:*",
              "matchCriteriaId": "CCEA9592-45E4-4C4A-906F-62732495B2D6",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:zitadel:zitadel:2.46.0:rc2:*:*:*:*:*:*",
              "matchCriteriaId": "D5C0396B-7FFB-4700-BBFF-AC7D2748B00A",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "ZITADEL, open source authentication management software, uses Go templates to render the login UI. Due to a improper use of the `text/template` instead of the `html/template` package, the Login UI did not sanitize input parameters prior to versions 2.47.3, 2.46.1, 2.45.1, 2.44.3, 2.43.9, 2.42.15, and 2.41.15. An attacker could create a malicious link, where he injected code which would be rendered as part of the login screen. While it was possible to inject HTML including JavaScript, the execution of such scripts would be prevented by the Content Security Policy. Versions 2.47.3, 2.46.1, 2.45.1, 2.44.3, 2.43.9, 2.42.15, and 2.41.15 contain a patch for this issue. No known workarounds are available."
    },
    {
      "lang": "es",
      "value": "ZITADEL, software de gesti\u00f3n de autenticaci\u00f3n de c\u00f3digo abierto, utiliza plantillas Go para representar la interfaz de usuario de inicio de sesi\u00f3n. Debido a un uso inadecuado del paquete `text/template` en lugar del paquete `html/template`, la interfaz de usuario de inicio de sesi\u00f3n no sanitiz\u00f3 los par\u00e1metros de entrada antes de las versiones 2.47.3, 2.46.1, 2.45.1, 2.44.3, 2.43. .9, 2.42.15 y 2.41.15. Un atacante podr\u00eda crear un enlace malicioso, donde inyectar\u00eda un c\u00f3digo que se mostrar\u00eda como parte de la pantalla de inicio de sesi\u00f3n. Si bien era posible inyectar HTML, incluido JavaScript, la Pol\u00edtica de seguridad de contenido impedir\u00eda la ejecuci\u00f3n de dichos scripts. Las versiones 2.47.3, 2.46.1, 2.45.1, 2.44.3, 2.43.9, 2.42.15 y 2.41.15 contienen un parche para este problema. No hay workarounds conocidos disponibles."
    }
  ],
  "id": "CVE-2024-28855",
  "lastModified": "2025-01-08T18:14:28.137",
  "metrics": {
    "cvssMetricV31": [
      {
        "cvssData": {
          "attackComplexity": "LOW",
          "attackVector": "NETWORK",
          "availabilityImpact": "NONE",
          "baseScore": 8.1,
          "baseSeverity": "HIGH",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "privilegesRequired": "NONE",
          "scope": "UNCHANGED",
          "userInteraction": "REQUIRED",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N",
          "version": "3.1"
        },
        "exploitabilityScore": 2.8,
        "impactScore": 5.2,
        "source": "security-advisories@github.com",
        "type": "Secondary"
      },
      {
        "cvssData": {
          "attackComplexity": "LOW",
          "attackVector": "NETWORK",
          "availabilityImpact": "NONE",
          "baseScore": 6.1,
          "baseSeverity": "MEDIUM",
          "confidentialityImpact": "LOW",
          "integrityImpact": "LOW",
          "privilegesRequired": "NONE",
          "scope": "CHANGED",
          "userInteraction": "REQUIRED",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
          "version": "3.1"
        },
        "exploitabilityScore": 2.8,
        "impactScore": 2.7,
        "source": "nvd@nist.gov",
        "type": "Primary"
      }
    ]
  },
  "published": "2024-03-18T22:15:08.963",
  "references": [
    {
      "source": "security-advisories@github.com",
      "tags": [
        "Release Notes"
      ],
      "url": "https://github.com/zitadel/zitadel/releases/tag/v2.41.15"
    },
    {
      "source": "security-advisories@github.com",
      "tags": [
        "Release Notes"
      ],
      "url": "https://github.com/zitadel/zitadel/releases/tag/v2.42.15"
    },
    {
      "source": "security-advisories@github.com",
      "tags": [
        "Release Notes"
      ],
      "url": "https://github.com/zitadel/zitadel/releases/tag/v2.43.9"
    },
    {
      "source": "security-advisories@github.com",
      "tags": [
        "Release Notes"
      ],
      "url": "https://github.com/zitadel/zitadel/releases/tag/v2.44.3"
    },
    {
      "source": "security-advisories@github.com",
      "tags": [
        "Release Notes"
      ],
      "url": "https://github.com/zitadel/zitadel/releases/tag/v2.45.1"
    },
    {
      "source": "security-advisories@github.com",
      "tags": [
        "Release Notes"
      ],
      "url": "https://github.com/zitadel/zitadel/releases/tag/v2.46.1"
    },
    {
      "source": "security-advisories@github.com",
      "tags": [
        "Release Notes"
      ],
      "url": "https://github.com/zitadel/zitadel/releases/tag/v2.47.3"
    },
    {
      "source": "security-advisories@github.com",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "https://github.com/zitadel/zitadel/security/advisories/GHSA-hfrg-4jwr-jfpj"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Release Notes"
      ],
      "url": "https://github.com/zitadel/zitadel/releases/tag/v2.41.15"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Release Notes"
      ],
      "url": "https://github.com/zitadel/zitadel/releases/tag/v2.42.15"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Release Notes"
      ],
      "url": "https://github.com/zitadel/zitadel/releases/tag/v2.43.9"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Release Notes"
      ],
      "url": "https://github.com/zitadel/zitadel/releases/tag/v2.44.3"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Release Notes"
      ],
      "url": "https://github.com/zitadel/zitadel/releases/tag/v2.45.1"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Release Notes"
      ],
      "url": "https://github.com/zitadel/zitadel/releases/tag/v2.46.1"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Release Notes"
      ],
      "url": "https://github.com/zitadel/zitadel/releases/tag/v2.47.3"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Vendor Advisory"
      ],
      "url": "https://github.com/zitadel/zitadel/security/advisories/GHSA-hfrg-4jwr-jfpj"
    }
  ],
  "sourceIdentifier": "security-advisories@github.com",
  "vulnStatus": "Analyzed",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-20"
        }
      ],
      "source": "security-advisories@github.com",
      "type": "Secondary"
    },
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-79"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}


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 observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…