ghsa-w8gr-xwp4-r9f7
Vulnerability from github
Published
2024-10-14 20:55
Modified
2024-12-20 17:55
Summary
Keycloak has Vulnerable Redirect URI Validation Results in Open Redirect
Details

A misconfiguration flaw was found in Keycloak. This issue can allow an attacker to redirect users to an arbitrary URL if a 'Valid Redirect URI' is set to http://localhost/ or http://127.0.0.1/, enabling sensitive information such as authorization codes to be exposed to the attacker, potentially leading to session hijacking.

Show details on source website


{
   affected: [
      {
         database_specific: {
            last_known_affected_version_range: "<= 22.0.12",
         },
         package: {
            ecosystem: "Maven",
            name: "org.keycloak:keycloak-services",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "0",
                  },
                  {
                     fixed: "22.0.13",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
      },
      {
         database_specific: {
            last_known_affected_version_range: "<= 24.0.7",
         },
         package: {
            ecosystem: "Maven",
            name: "org.keycloak:keycloak-services",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "23.0.0",
                  },
                  {
                     fixed: "24.0.8",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
      },
      {
         database_specific: {
            last_known_affected_version_range: "<= 25.0.5",
         },
         package: {
            ecosystem: "Maven",
            name: "org.keycloak:keycloak-services",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "25.0.0",
                  },
                  {
                     fixed: "25.0.6",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
      },
   ],
   aliases: [
      "CVE-2024-8883",
   ],
   database_specific: {
      cwe_ids: [
         "CWE-601",
      ],
      github_reviewed: true,
      github_reviewed_at: "2024-10-14T20:55:22Z",
      nvd_published_at: null,
      severity: "MODERATE",
   },
   details: "A misconfiguration flaw was found in Keycloak. This issue can allow an attacker to redirect users to an arbitrary URL if a 'Valid Redirect URI' is set to http://localhost/ or http://127.0.0.1/, enabling sensitive information such as authorization codes to be exposed to the attacker, potentially leading to session hijacking.",
   id: "GHSA-w8gr-xwp4-r9f7",
   modified: "2024-12-20T17:55:01Z",
   published: "2024-10-14T20:55:22Z",
   references: [
      {
         type: "WEB",
         url: "https://github.com/keycloak/keycloak/security/advisories/GHSA-w8gr-xwp4-r9f7",
      },
      {
         type: "ADVISORY",
         url: "https://nvd.nist.gov/vuln/detail/CVE-2024-8883",
      },
      {
         type: "WEB",
         url: "https://github.com/keycloak/keycloak/releases/tag/25.0.6",
      },
      {
         type: "WEB",
         url: "https://github.com/keycloak/keycloak/blob/main/services/src/main/java/org/keycloak/protocol/oidc/utils/RedirectUtils.java",
      },
      {
         type: "PACKAGE",
         url: "https://github.com/keycloak/keycloak",
      },
      {
         type: "WEB",
         url: "https://bugzilla.redhat.com/show_bug.cgi?id=2312511",
      },
      {
         type: "WEB",
         url: "https://access.redhat.com/security/cve/CVE-2024-8883",
      },
      {
         type: "WEB",
         url: "https://access.redhat.com/errata/RHSA-2024:8826",
      },
      {
         type: "WEB",
         url: "https://access.redhat.com/errata/RHSA-2024:8824",
      },
      {
         type: "WEB",
         url: "https://access.redhat.com/errata/RHSA-2024:8823",
      },
      {
         type: "WEB",
         url: "https://access.redhat.com/errata/RHSA-2024:6890",
      },
      {
         type: "WEB",
         url: "https://access.redhat.com/errata/RHSA-2024:6889",
      },
      {
         type: "WEB",
         url: "https://access.redhat.com/errata/RHSA-2024:6888",
      },
      {
         type: "WEB",
         url: "https://access.redhat.com/errata/RHSA-2024:6887",
      },
      {
         type: "WEB",
         url: "https://access.redhat.com/errata/RHSA-2024:6886",
      },
      {
         type: "WEB",
         url: "https://access.redhat.com/errata/RHSA-2024:6882",
      },
      {
         type: "WEB",
         url: "https://access.redhat.com/errata/RHSA-2024:6880",
      },
      {
         type: "WEB",
         url: "https://access.redhat.com/errata/RHSA-2024:6879",
      },
      {
         type: "WEB",
         url: "https://access.redhat.com/errata/RHSA-2024:6878",
      },
      {
         type: "WEB",
         url: "https://access.redhat.com/errata/RHSA-2024:10386",
      },
      {
         type: "WEB",
         url: "https://access.redhat.com/errata/RHSA-2024:10385",
      },
   ],
   schema_version: "1.4.0",
   severity: [
      {
         score: "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
         type: "CVSS_V3",
      },
   ],
   summary: "Keycloak has Vulnerable Redirect URI Validation Results in Open Redirect",
}


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.