gsd-2023-6134
Vulnerability from gsd
Modified
2023-12-13 01:20
Details
A flaw was found in Keycloak that prevents certain schemes in redirects, but permits them if a wildcard is appended to the token. This issue could allow an attacker to submit a specially crafted request leading to cross-site scripting (XSS) or further attacks. This flaw is the result of an incomplete fix for CVE-2020-10748.
Aliases
Aliases



{
   GSD: {
      alias: "CVE-2023-6134",
      id: "GSD-2023-6134",
   },
   gsd: {
      metadata: {
         exploitCode: "unknown",
         remediation: "unknown",
         reportConfidence: "confirmed",
         type: "vulnerability",
      },
      osvSchema: {
         aliases: [
            "CVE-2023-6134",
         ],
         details: "A flaw was found in Keycloak that prevents certain schemes in redirects, but permits them if a wildcard is appended to the token. This issue could allow an attacker to submit a specially crafted request leading to cross-site scripting (XSS) or further attacks. This flaw is the result of an incomplete fix for CVE-2020-10748.",
         id: "GSD-2023-6134",
         modified: "2023-12-13T01:20:33.039629Z",
         schema_version: "1.4.0",
      },
   },
   namespaces: {
      "cve.org": {
         CVE_data_meta: {
            ASSIGNER: "secalert@redhat.com",
            ID: "CVE-2023-6134",
            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.7-1",
                                                versionType: "rpm",
                                             },
                                          ],
                                       },
                                    },
                                    {
                                       version_value: "not down converted",
                                       x_cve_json_5_version_data: {
                                          defaultStatus: "affected",
                                          versions: [
                                             {
                                                lessThan: "*",
                                                status: "unaffected",
                                                version: "22-6",
                                                versionType: "rpm",
                                             },
                                          ],
                                       },
                                    },
                                    {
                                       version_value: "not down converted",
                                       x_cve_json_5_version_data: {
                                          defaultStatus: "affected",
                                          versions: [
                                             {
                                                lessThan: "*",
                                                status: "unaffected",
                                                version: "22-9",
                                                versionType: "rpm",
                                             },
                                          ],
                                       },
                                    },
                                 ],
                              },
                           },
                           {
                              product_name: "Red Hat build of Keycloak 22.0.7",
                              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: "unaffected",
                                       },
                                    },
                                 ],
                              },
                           },
                           {
                              product_name: "Red Hat Single Sign-On 7.6 for RHEL 7",
                              version: {
                                 version_data: [
                                    {
                                       version_value: "not down converted",
                                       x_cve_json_5_version_data: {
                                          defaultStatus: "affected",
                                          versions: [
                                             {
                                                lessThan: "*",
                                                status: "unaffected",
                                                version: "0:18.0.11-2.redhat_00003.1.el7sso",
                                                versionType: "rpm",
                                             },
                                          ],
                                       },
                                    },
                                    {
                                       version_value: "not down converted",
                                       x_cve_json_5_version_data: {
                                          defaultStatus: "affected",
                                          versions: [
                                             {
                                                lessThan: "*",
                                                status: "unaffected",
                                                version: "0:18.0.12-1.redhat_00001.1.el7sso",
                                                versionType: "rpm",
                                             },
                                          ],
                                       },
                                    },
                                 ],
                              },
                           },
                           {
                              product_name: "Red Hat Single Sign-On 7.6 for RHEL 8",
                              version: {
                                 version_data: [
                                    {
                                       version_value: "not down converted",
                                       x_cve_json_5_version_data: {
                                          defaultStatus: "affected",
                                          versions: [
                                             {
                                                lessThan: "*",
                                                status: "unaffected",
                                                version: "0:18.0.11-2.redhat_00003.1.el8sso",
                                                versionType: "rpm",
                                             },
                                          ],
                                       },
                                    },
                                    {
                                       version_value: "not down converted",
                                       x_cve_json_5_version_data: {
                                          defaultStatus: "affected",
                                          versions: [
                                             {
                                                lessThan: "*",
                                                status: "unaffected",
                                                version: "0:18.0.12-1.redhat_00001.1.el8sso",
                                                versionType: "rpm",
                                             },
                                          ],
                                       },
                                    },
                                 ],
                              },
                           },
                           {
                              product_name: "Red Hat Single Sign-On 7.6 for RHEL 9",
                              version: {
                                 version_data: [
                                    {
                                       version_value: "not down converted",
                                       x_cve_json_5_version_data: {
                                          defaultStatus: "affected",
                                          versions: [
                                             {
                                                lessThan: "*",
                                                status: "unaffected",
                                                version: "0:18.0.11-2.redhat_00003.1.el9sso",
                                                versionType: "rpm",
                                             },
                                          ],
                                       },
                                    },
                                    {
                                       version_value: "not down converted",
                                       x_cve_json_5_version_data: {
                                          defaultStatus: "affected",
                                          versions: [
                                             {
                                                lessThan: "*",
                                                status: "unaffected",
                                                version: "0:18.0.12-1.redhat_00001.1.el9sso",
                                                versionType: "rpm",
                                             },
                                          ],
                                       },
                                    },
                                 ],
                              },
                           },
                           {
                              product_name: "RHEL-8 based Middleware Containers",
                              version: {
                                 version_data: [
                                    {
                                       version_value: "not down converted",
                                       x_cve_json_5_version_data: {
                                          defaultStatus: "affected",
                                          versions: [
                                             {
                                                lessThan: "*",
                                                status: "unaffected",
                                                version: "7.6-38",
                                                versionType: "rpm",
                                             },
                                          ],
                                       },
                                    },
                                    {
                                       version_value: "not down converted",
                                       x_cve_json_5_version_data: {
                                          defaultStatus: "affected",
                                          versions: [
                                             {
                                                lessThan: "*",
                                                status: "unaffected",
                                                version: "7.6.6-2",
                                                versionType: "rpm",
                                             },
                                          ],
                                       },
                                    },
                                    {
                                       version_value: "not down converted",
                                       x_cve_json_5_version_data: {
                                          defaultStatus: "affected",
                                          versions: [
                                             {
                                                lessThan: "*",
                                                status: "unaffected",
                                                version: "7.6-41",
                                                versionType: "rpm",
                                             },
                                          ],
                                       },
                                    },
                                 ],
                              },
                           },
                           {
                              product_name: "Single Sign-On 7.6.6",
                              version: {
                                 version_data: [
                                    {
                                       version_value: "not down converted",
                                       x_cve_json_5_version_data: {
                                          defaultStatus: "unaffected",
                                       },
                                    },
                                 ],
                              },
                           },
                        ],
                     },
                     vendor_name: "Red Hat",
                  },
               ],
            },
         },
         credits: [
            {
               lang: "en",
               value: "Red Hat would like to thank Lauritz Holtmann (https://security.lauritz-holtmann.de/) for reporting this issue.",
            },
         ],
         data_format: "MITRE",
         data_type: "CVE",
         data_version: "4.0",
         description: {
            description_data: [
               {
                  lang: "eng",
                  value: "A flaw was found in Keycloak that prevents certain schemes in redirects, but permits them if a wildcard is appended to the token. This issue could allow an attacker to submit a specially crafted request leading to cross-site scripting (XSS) or further attacks. This flaw is the result of an incomplete fix for CVE-2020-10748.",
               },
            ],
         },
         impact: {
            cvss: [
               {
                  attackComplexity: "LOW",
                  attackVector: "NETWORK",
                  availabilityImpact: "NONE",
                  baseScore: 4.6,
                  baseSeverity: "MEDIUM",
                  confidentialityImpact: "LOW",
                  integrityImpact: "LOW",
                  privilegesRequired: "LOW",
                  scope: "UNCHANGED",
                  userInteraction: "REQUIRED",
                  vectorString: "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N",
                  version: "3.1",
               },
            ],
         },
         problemtype: {
            problemtype_data: [
               {
                  description: [
                     {
                        cweId: "CWE-79",
                        lang: "eng",
                        value: "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
                     },
                  ],
               },
            ],
         },
         references: {
            reference_data: [
               {
                  name: "https://access.redhat.com/errata/RHSA-2023:7854",
                  refsource: "MISC",
                  url: "https://access.redhat.com/errata/RHSA-2023:7854",
               },
               {
                  name: "https://access.redhat.com/errata/RHSA-2023:7855",
                  refsource: "MISC",
                  url: "https://access.redhat.com/errata/RHSA-2023:7855",
               },
               {
                  name: "https://access.redhat.com/errata/RHSA-2023:7856",
                  refsource: "MISC",
                  url: "https://access.redhat.com/errata/RHSA-2023:7856",
               },
               {
                  name: "https://access.redhat.com/errata/RHSA-2023:7857",
                  refsource: "MISC",
                  url: "https://access.redhat.com/errata/RHSA-2023:7857",
               },
               {
                  name: "https://access.redhat.com/errata/RHSA-2023:7858",
                  refsource: "MISC",
                  url: "https://access.redhat.com/errata/RHSA-2023:7858",
               },
               {
                  name: "https://access.redhat.com/errata/RHSA-2023:7860",
                  refsource: "MISC",
                  url: "https://access.redhat.com/errata/RHSA-2023:7860",
               },
               {
                  name: "https://access.redhat.com/errata/RHSA-2023:7861",
                  refsource: "MISC",
                  url: "https://access.redhat.com/errata/RHSA-2023:7861",
               },
               {
                  name: "https://access.redhat.com/errata/RHSA-2024:0798",
                  refsource: "MISC",
                  url: "https://access.redhat.com/errata/RHSA-2024:0798",
               },
               {
                  name: "https://access.redhat.com/errata/RHSA-2024:0799",
                  refsource: "MISC",
                  url: "https://access.redhat.com/errata/RHSA-2024:0799",
               },
               {
                  name: "https://access.redhat.com/errata/RHSA-2024:0800",
                  refsource: "MISC",
                  url: "https://access.redhat.com/errata/RHSA-2024:0800",
               },
               {
                  name: "https://access.redhat.com/errata/RHSA-2024:0801",
                  refsource: "MISC",
                  url: "https://access.redhat.com/errata/RHSA-2024:0801",
               },
               {
                  name: "https://access.redhat.com/errata/RHSA-2024:0804",
                  refsource: "MISC",
                  url: "https://access.redhat.com/errata/RHSA-2024:0804",
               },
               {
                  name: "https://access.redhat.com/security/cve/CVE-2023-6134",
                  refsource: "MISC",
                  url: "https://access.redhat.com/security/cve/CVE-2023-6134",
               },
               {
                  name: "https://bugzilla.redhat.com/show_bug.cgi?id=2249673",
                  refsource: "MISC",
                  url: "https://bugzilla.redhat.com/show_bug.cgi?id=2249673",
               },
            ],
         },
      },
      "nvd.nist.gov": {
         cve: {
            configurations: [
               {
                  nodes: [
                     {
                        cpeMatch: [
                           {
                              criteria: "cpe:2.3:a:redhat:single_sign-on:*:*:*:*:*:*:*:*",
                              matchCriteriaId: "700E09EA-C73C-4F05-9B7D-D4894C29AEC9",
                              versionEndExcluding: "7.6",
                              vulnerable: true,
                           },
                        ],
                        negate: false,
                        operator: "OR",
                     },
                     {
                        cpeMatch: [
                           {
                              criteria: "cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*",
                              matchCriteriaId: "142AD0DD-4CF3-4D74-9442-459CE3347E3A",
                              vulnerable: false,
                           },
                           {
                              criteria: "cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*",
                              matchCriteriaId: "F4CFF558-3C47-480D-A2F0-BABF26042943",
                              vulnerable: false,
                           },
                           {
                              criteria: "cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*",
                              matchCriteriaId: "7F6FB57C-2BC7-487C-96DD-132683AEB35D",
                              vulnerable: false,
                           },
                        ],
                        negate: false,
                        operator: "OR",
                     },
                  ],
                  operator: "AND",
               },
               {
                  nodes: [
                     {
                        cpeMatch: [
                           {
                              criteria: "cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:*",
                              matchCriteriaId: "66A01C0F-CB27-4A62-9B86-C35CCD605AB6",
                              versionEndExcluding: "22.0.7",
                              vulnerable: true,
                           },
                        ],
                        negate: false,
                        operator: "OR",
                     },
                  ],
               },
               {
                  nodes: [
                     {
                        cpeMatch: [
                           {
                              criteria: "cpe:2.3:a:redhat:openshift_container_platform:4.11:*:*:*:*:*:*:*",
                              matchCriteriaId: "EA983F8C-3A06-450A-AEFF-9429DE9A3454",
                              vulnerable: true,
                           },
                           {
                              criteria: "cpe:2.3:a:redhat:openshift_container_platform:4.12:*:*:*:*:*:*:*",
                              matchCriteriaId: "40449571-22F8-44FA-B57B-B43F71AB25E2",
                              vulnerable: true,
                           },
                        ],
                        negate: false,
                        operator: "OR",
                     },
                     {
                        cpeMatch: [
                           {
                              criteria: "cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*",
                              matchCriteriaId: "F4CFF558-3C47-480D-A2F0-BABF26042943",
                              vulnerable: false,
                           },
                        ],
                        negate: false,
                        operator: "OR",
                     },
                  ],
                  operator: "AND",
               },
               {
                  nodes: [
                     {
                        cpeMatch: [
                           {
                              criteria: "cpe:2.3:a:redhat:openshift_container_platform_for_power:4.9:*:*:*:*:*:*:*",
                              matchCriteriaId: "30E2CF79-2D56-48AB-952E-5DDAFE471073",
                              vulnerable: true,
                           },
                           {
                              criteria: "cpe:2.3:a:redhat:openshift_container_platform_for_power:4.10:*:*:*:*:*:*:*",
                              matchCriteriaId: "54E24055-813B-4E6D-94B7-FAD5F78B8537",
                              vulnerable: true,
                           },
                        ],
                        negate: false,
                        operator: "OR",
                     },
                     {
                        cpeMatch: [
                           {
                              criteria: "cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*",
                              matchCriteriaId: "F4CFF558-3C47-480D-A2F0-BABF26042943",
                              vulnerable: false,
                           },
                        ],
                        negate: false,
                        operator: "OR",
                     },
                  ],
                  operator: "AND",
               },
               {
                  nodes: [
                     {
                        cpeMatch: [
                           {
                              criteria: "cpe:2.3:a:redhat:openshift_container_platform_ibm_z_systems:4.9:*:*:*:*:*:*:*",
                              matchCriteriaId: "CC262C4C-7B6A-4117-A50F-1FF69296DDD8",
                              vulnerable: true,
                           },
                           {
                              criteria: "cpe:2.3:a:redhat:openshift_container_platform_ibm_z_systems:4.10:*:*:*:*:*:*:*",
                              matchCriteriaId: "E58526FB-522F-4AAC-B03C-9CAB443D0CFF",
                              vulnerable: true,
                           },
                        ],
                        negate: false,
                        operator: "OR",
                     },
                     {
                        cpeMatch: [
                           {
                              criteria: "cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*",
                              matchCriteriaId: "F4CFF558-3C47-480D-A2F0-BABF26042943",
                              vulnerable: false,
                           },
                        ],
                        negate: false,
                        operator: "OR",
                     },
                  ],
                  operator: "AND",
               },
               {
                  nodes: [
                     {
                        cpeMatch: [
                           {
                              criteria: "cpe:2.3:a:redhat:single_sign-on:-:*:*:*:text-only:*:*:*",
                              matchCriteriaId: "341E6313-20D5-44CB-9719-B20585DC5AD6",
                              vulnerable: true,
                           },
                        ],
                        negate: false,
                        operator: "OR",
                     },
                  ],
               },
            ],
            descriptions: [
               {
                  lang: "en",
                  value: "A flaw was found in Keycloak that prevents certain schemes in redirects, but permits them if a wildcard is appended to the token. This issue could allow an attacker to submit a specially crafted request leading to cross-site scripting (XSS) or further attacks. This flaw is the result of an incomplete fix for CVE-2020-10748.",
               },
               {
                  lang: "es",
                  value: "Se encontró una falla en Keycloak que impide ciertos esquemas en las redirecciones, pero los permite si se agrega un comodín al token. Este problema podría permitir que un atacante envíe una solicitud especialmente manipulada que dé lugar a cross-site scripting (XSS) o más ataques. Esta falla es el resultado de una solución incompleta para CVE-2020-10748.",
               },
            ],
            id: "CVE-2023-6134",
            lastModified: "2024-02-02T16:18:27.150",
            metrics: {
               cvssMetricV31: [
                  {
                     cvssData: {
                        attackComplexity: "LOW",
                        attackVector: "NETWORK",
                        availabilityImpact: "NONE",
                        baseScore: 5.4,
                        baseSeverity: "MEDIUM",
                        confidentialityImpact: "LOW",
                        integrityImpact: "LOW",
                        privilegesRequired: "LOW",
                        scope: "CHANGED",
                        userInteraction: "REQUIRED",
                        vectorString: "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
                        version: "3.1",
                     },
                     exploitabilityScore: 2.3,
                     impactScore: 2.7,
                     source: "nvd@nist.gov",
                     type: "Primary",
                  },
                  {
                     cvssData: {
                        attackComplexity: "LOW",
                        attackVector: "NETWORK",
                        availabilityImpact: "NONE",
                        baseScore: 4.6,
                        baseSeverity: "MEDIUM",
                        confidentialityImpact: "LOW",
                        integrityImpact: "LOW",
                        privilegesRequired: "LOW",
                        scope: "UNCHANGED",
                        userInteraction: "REQUIRED",
                        vectorString: "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N",
                        version: "3.1",
                     },
                     exploitabilityScore: 2.1,
                     impactScore: 2.5,
                     source: "secalert@redhat.com",
                     type: "Secondary",
                  },
               ],
            },
            published: "2023-12-14T22:15:44.087",
            references: [
               {
                  source: "secalert@redhat.com",
                  tags: [
                     "Vendor Advisory",
                  ],
                  url: "https://access.redhat.com/errata/RHSA-2023:7854",
               },
               {
                  source: "secalert@redhat.com",
                  tags: [
                     "Vendor Advisory",
                  ],
                  url: "https://access.redhat.com/errata/RHSA-2023:7855",
               },
               {
                  source: "secalert@redhat.com",
                  tags: [
                     "Vendor Advisory",
                  ],
                  url: "https://access.redhat.com/errata/RHSA-2023:7856",
               },
               {
                  source: "secalert@redhat.com",
                  tags: [
                     "Exploit",
                     "Vendor Advisory",
                  ],
                  url: "https://access.redhat.com/errata/RHSA-2023:7857",
               },
               {
                  source: "secalert@redhat.com",
                  tags: [
                     "Vendor Advisory",
                  ],
                  url: "https://access.redhat.com/errata/RHSA-2023:7858",
               },
               {
                  source: "secalert@redhat.com",
                  tags: [
                     "Vendor Advisory",
                  ],
                  url: "https://access.redhat.com/errata/RHSA-2023:7860",
               },
               {
                  source: "secalert@redhat.com",
                  tags: [
                     "Vendor Advisory",
                  ],
                  url: "https://access.redhat.com/errata/RHSA-2023:7861",
               },
               {
                  source: "secalert@redhat.com",
                  tags: [
                     "Vendor Advisory",
                  ],
                  url: "https://access.redhat.com/security/cve/CVE-2023-6134",
               },
               {
                  source: "secalert@redhat.com",
                  tags: [
                     "Issue Tracking",
                  ],
                  url: "https://bugzilla.redhat.com/show_bug.cgi?id=2249673",
               },
            ],
            sourceIdentifier: "secalert@redhat.com",
            vulnStatus: "Analyzed",
            weaknesses: [
               {
                  description: [
                     {
                        lang: "en",
                        value: "CWE-79",
                     },
                  ],
                  source: "nvd@nist.gov",
                  type: "Primary",
               },
               {
                  description: [
                     {
                        lang: "en",
                        value: "CWE-79",
                     },
                  ],
                  source: "secalert@redhat.com",
                  type: "Secondary",
               },
            ],
         },
      },
   },
}


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.