ghsa-458h-wv48-fq75
Vulnerability from github
Published
2022-05-13 01:34
Modified
2023-10-19 19:28
Summary
Keycloak vulnerable to cross-site scripting via the state parameter
Details

A flaw was found in Keycloak 3.4.3.Final, 4.0.0.Beta2, 4.3.0.Final. When using response_mode=form_post it is possible to inject arbitrary Javascript-Code via the 'state'-parameter in the authentication URL. This allows an XSS-Attack upon succesfully login.

Show details on source website


{
   affected: [
      {
         package: {
            ecosystem: "Maven",
            name: "org.keycloak:keycloak-parent",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "0",
                  },
                  {
                     last_affected: "3.4.3.Final",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
      },
      {
         package: {
            ecosystem: "Maven",
            name: "org.keycloak:keycloak-parent",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "4.0.0.Beta1",
                  },
                  {
                     last_affected: "4.0.0.Beta2",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
      },
      {
         package: {
            ecosystem: "Maven",
            name: "org.keycloak:keycloak-parent",
         },
         versions: [
            "4.3.0.Final",
         ],
      },
   ],
   aliases: [
      "CVE-2018-14655",
   ],
   database_specific: {
      cwe_ids: [
         "CWE-79",
      ],
      github_reviewed: true,
      github_reviewed_at: "2023-07-21T22:47:11Z",
      nvd_published_at: "2018-11-13T19:29:00Z",
      severity: "MODERATE",
   },
   details: "A flaw was found in Keycloak 3.4.3.Final, 4.0.0.Beta2, 4.3.0.Final. When using `response_mode=form_post` it is possible to inject arbitrary Javascript-Code via the 'state'-parameter in the authentication URL. This allows an XSS-Attack upon succesfully login.",
   id: "GHSA-458h-wv48-fq75",
   modified: "2023-10-19T19:28:32Z",
   published: "2022-05-13T01:34:29Z",
   references: [
      {
         type: "ADVISORY",
         url: "https://nvd.nist.gov/vuln/detail/CVE-2018-14655",
      },
      {
         type: "WEB",
         url: "https://access.redhat.com/errata/RHSA-2018:3592",
      },
      {
         type: "WEB",
         url: "https://access.redhat.com/errata/RHSA-2018:3593",
      },
      {
         type: "WEB",
         url: "https://access.redhat.com/errata/RHSA-2018:3595",
      },
      {
         type: "WEB",
         url: "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14655",
      },
      {
         type: "PACKAGE",
         url: "https://github.com/keycloak/keycloak",
      },
   ],
   schema_version: "1.4.0",
   severity: [
      {
         score: "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
         type: "CVSS_V3",
      },
   ],
   summary: "Keycloak vulnerable to cross-site scripting via the state parameter",
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



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.
  • 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.