gsd-2023-6787
Vulnerability from gsd
Modified
2023-12-14 06:01
Details
A flaw was found in Keycloak that occurs from an error in the re-authentication mechanism within org.keycloak.authentication. This flaw allows hijacking an active Keycloak session by triggering a new authentication process with the query parameter "prompt=login," prompting the user to re-enter their credentials. If the user cancels this re-authentication by selecting "Restart login," an account takeover may occur, as the new session, with a different SUB, will possess the same SID as the previous session.
Aliases



{
   gsd: {
      metadata: {
         exploitCode: "unknown",
         remediation: "unknown",
         reportConfidence: "confirmed",
         type: "vulnerability",
      },
      osvSchema: {
         aliases: [
            "CVE-2023-6787",
         ],
         details: "A flaw was found in Keycloak that occurs from an error in the re-authentication mechanism within org.keycloak.authentication. This flaw allows hijacking an active Keycloak session by triggering a new authentication process with the query parameter \"prompt=login,\" prompting the user to re-enter their credentials. If the user cancels this re-authentication by selecting \"Restart login,\" an account takeover may occur, as the new session, with a different SUB, will possess the same SID as the previous session.",
         id: "GSD-2023-6787",
         modified: "2023-12-14T06:01:34.661476Z",
         schema_version: "1.4.0",
      },
   },
   namespaces: {
      "cve.org": {
         CVE_data_meta: {
            ASSIGNER: "secalert@redhat.com",
            ID: "CVE-2023-6787",
            STATE: "PUBLIC",
         },
         affects: {
            vendor: {
               vendor_data: [
                  {
                     product: {
                        product_data: [
                           {
                              product_name: "Red Hat build of Keycloak 22",
                              version: {
                                 version_data: [
                                    {
                                       version_value: "not down converted",
                                       x_cve_json_5_version_data: {
                                          defaultStatus: "affected",
                                          versions: [
                                             {
                                                lessThan: "*",
                                                status: "unaffected",
                                                version: "22.0.10-1",
                                                versionType: "rpm",
                                             },
                                          ],
                                       },
                                    },
                                    {
                                       version_value: "not down converted",
                                       x_cve_json_5_version_data: {
                                          defaultStatus: "affected",
                                          versions: [
                                             {
                                                lessThan: "*",
                                                status: "unaffected",
                                                version: "22-13",
                                                versionType: "rpm",
                                             },
                                          ],
                                       },
                                    },
                                    {
                                       version_value: "not down converted",
                                       x_cve_json_5_version_data: {
                                          defaultStatus: "affected",
                                          versions: [
                                             {
                                                lessThan: "*",
                                                status: "unaffected",
                                                version: "22-16",
                                                versionType: "rpm",
                                             },
                                          ],
                                       },
                                    },
                                 ],
                              },
                           },
                           {
                              product_name: "Red Hat build of Keycloak 22.0.10",
                              version: {
                                 version_data: [
                                    {
                                       version_value: "not down converted",
                                       x_cve_json_5_version_data: {
                                          defaultStatus: "unaffected",
                                       },
                                    },
                                 ],
                              },
                           },
                           {
                              product_name: "Red Hat Single Sign-On 7",
                              version: {
                                 version_data: [
                                    {
                                       version_value: "not down converted",
                                       x_cve_json_5_version_data: {
                                          defaultStatus: "affected",
                                       },
                                    },
                                 ],
                              },
                           },
                        ],
                     },
                     vendor_name: "Red Hat",
                  },
               ],
            },
         },
         data_format: "MITRE",
         data_type: "CVE",
         data_version: "4.0",
         description: {
            description_data: [
               {
                  lang: "eng",
                  value: "A flaw was found in Keycloak that occurs from an error in the re-authentication mechanism within org.keycloak.authentication. This flaw allows hijacking an active Keycloak session by triggering a new authentication process with the query parameter \"prompt=login,\" prompting the user to re-enter their credentials. If the user cancels this re-authentication by selecting \"Restart login,\" an account takeover may occur, as the new session, with a different SUB, will possess the same SID as the previous session.",
               },
            ],
         },
         impact: {
            cvss: [
               {
                  attackComplexity: "LOW",
                  attackVector: "NETWORK",
                  availabilityImpact: "NONE",
                  baseScore: 6.5,
                  baseSeverity: "MEDIUM",
                  confidentialityImpact: "NONE",
                  integrityImpact: "HIGH",
                  privilegesRequired: "NONE",
                  scope: "UNCHANGED",
                  userInteraction: "REQUIRED",
                  vectorString: "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N",
                  version: "3.1",
               },
            ],
         },
         problemtype: {
            problemtype_data: [
               {
                  description: [
                     {
                        cweId: "CWE-287",
                        lang: "eng",
                        value: "Improper Authentication",
                     },
                  ],
               },
            ],
         },
         references: {
            reference_data: [
               {
                  name: "https://access.redhat.com/errata/RHSA-2024:1867",
                  refsource: "MISC",
                  url: "https://access.redhat.com/errata/RHSA-2024:1867",
               },
               {
                  name: "https://access.redhat.com/errata/RHSA-2024:1868",
                  refsource: "MISC",
                  url: "https://access.redhat.com/errata/RHSA-2024:1868",
               },
               {
                  name: "https://access.redhat.com/security/cve/CVE-2023-6787",
                  refsource: "MISC",
                  url: "https://access.redhat.com/security/cve/CVE-2023-6787",
               },
               {
                  name: "https://bugzilla.redhat.com/show_bug.cgi?id=2254375",
                  refsource: "MISC",
                  url: "https://bugzilla.redhat.com/show_bug.cgi?id=2254375",
               },
            ],
         },
      },
      "nvd.nist.gov": {
         cve: {
            descriptions: [
               {
                  lang: "en",
                  value: "A flaw was found in Keycloak that occurs from an error in the re-authentication mechanism within org.keycloak.authentication. This flaw allows hijacking an active Keycloak session by triggering a new authentication process with the query parameter \"prompt=login,\" prompting the user to re-enter their credentials. If the user cancels this re-authentication by selecting \"Restart login,\" an account takeover may occur, as the new session, with a different SUB, will possess the same SID as the previous session.",
               },
            ],
            id: "CVE-2023-6787",
            lastModified: "2024-04-25T17:24:59.967",
            metrics: {
               cvssMetricV31: [
                  {
                     cvssData: {
                        attackComplexity: "LOW",
                        attackVector: "NETWORK",
                        availabilityImpact: "NONE",
                        baseScore: 6.5,
                        baseSeverity: "MEDIUM",
                        confidentialityImpact: "NONE",
                        integrityImpact: "HIGH",
                        privilegesRequired: "NONE",
                        scope: "UNCHANGED",
                        userInteraction: "REQUIRED",
                        vectorString: "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N",
                        version: "3.1",
                     },
                     exploitabilityScore: 2.8,
                     impactScore: 3.6,
                     source: "secalert@redhat.com",
                     type: "Secondary",
                  },
               ],
            },
            published: "2024-04-25T16:15:10.867",
            references: [
               {
                  source: "secalert@redhat.com",
                  url: "https://access.redhat.com/errata/RHSA-2024:1867",
               },
               {
                  source: "secalert@redhat.com",
                  url: "https://access.redhat.com/errata/RHSA-2024:1868",
               },
               {
                  source: "secalert@redhat.com",
                  url: "https://access.redhat.com/security/cve/CVE-2023-6787",
               },
               {
                  source: "secalert@redhat.com",
                  url: "https://bugzilla.redhat.com/show_bug.cgi?id=2254375",
               },
            ],
            sourceIdentifier: "secalert@redhat.com",
            vulnStatus: "Awaiting Analysis",
            weaknesses: [
               {
                  description: [
                     {
                        lang: "en",
                        value: "CWE-287",
                     },
                  ],
                  source: "secalert@redhat.com",
                  type: "Primary",
               },
            ],
         },
      },
   },
}


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.