gsd-2022-2668
Vulnerability from gsd
Modified
2023-12-13 01:19
Details
An issue was discovered in Keycloak that allows arbitrary Javascript to be uploaded for the SAML protocol mapper even if the UPLOAD_SCRIPTS feature is disabled
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2022-2668",
    "description": "An issue was discovered in Keycloak that allows arbitrary Javascript to be uploaded for the SAML protocol mapper even if the UPLOAD_SCRIPTS feature is disabled",
    "id": "GSD-2022-2668",
    "references": [
      "https://access.redhat.com/errata/RHSA-2022:6782",
      "https://access.redhat.com/errata/RHSA-2022:6783",
      "https://access.redhat.com/errata/RHSA-2022:6787",
      "https://access.redhat.com/errata/RHSA-2022:7409",
      "https://access.redhat.com/errata/RHSA-2022:7410",
      "https://access.redhat.com/errata/RHSA-2022:7411",
      "https://access.redhat.com/errata/RHSA-2022:7417"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2022-2668"
      ],
      "details": "An issue was discovered in Keycloak that allows arbitrary Javascript to be uploaded for the SAML protocol mapper even if the UPLOAD_SCRIPTS feature is disabled",
      "id": "GSD-2022-2668",
      "modified": "2023-12-13T01:19:19.641296Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "secalert@redhat.com",
        "ID": "CVE-2022-2668",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "keycloak",
                    "version": {
                      "version_data": [
                        {
                          "version_value": "Keycloak 18"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "n/a"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "An issue was discovered in Keycloak that allows arbitrary Javascript to be uploaded for the SAML protocol mapper even if the UPLOAD_SCRIPTS feature is disabled"
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "Expected Behavior Violation"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://access.redhat.com/security/cve/CVE-2022-2668",
            "refsource": "MISC",
            "url": "https://access.redhat.com/security/cve/CVE-2022-2668"
          }
        ]
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "(,19.0.2)",
          "affected_versions": "All versions before 19.0.2",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937"
          ],
          "date": "2022-09-23",
          "description": "An issue was discovered in Keycloak that allows arbitrary Javascript to be uploaded for the SAML protocol mapper even if the UPLOAD_SCRIPTS feature is disabled",
          "fixed_versions": [
            "19.0.2"
          ],
          "identifier": "CVE-2022-2668",
          "identifiers": [
            "GHSA-wf7g-7h6h-678v",
            "CVE-2022-2668"
          ],
          "not_impacted": "All versions starting from 19.0.2",
          "package_slug": "maven/org.keycloak/keycloak-parent",
          "pubdate": "2022-09-23",
          "solution": "Upgrade to version 19.0.2 or above.",
          "title": "Keycloak SAML javascript protocol mapper: Uploading of scripts through admin console",
          "urls": [
            "https://github.com/keycloak/keycloak/security/advisories/GHSA-wf7g-7h6h-678v",
            "https://nvd.nist.gov/vuln/detail/CVE-2022-2668",
            "https://github.com/keycloak/keycloak/commit/e2ae7eef39b27e48ffa4764995d558555f02838c",
            "https://access.redhat.com/security/cve/CVE-2022-2668",
            "https://bugzilla.redhat.com/show_bug.cgi?id=2115392",
            "https://github.com/advisories/GHSA-wf7g-7h6h-678v"
          ],
          "uuid": "406fc393-5595-428f-ad44-dfd5ef381479"
        },
        {
          "affected_range": "[18.0.0]",
          "affected_versions": "Version 18.0.0",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937"
          ],
          "date": "2022-08-11",
          "description": "An issue was discovered in Keycloak that allows arbitrary Javascript to be uploaded for the SAML protocol mapper even if the UPLOAD_SCRIPTS feature is disabled",
          "fixed_versions": [
            "18.0.1"
          ],
          "identifier": "CVE-2022-2668",
          "identifiers": [
            "CVE-2022-2668"
          ],
          "not_impacted": "All versions before 18.0.0, all versions after 18.0.0",
          "package_slug": "maven/org.keycloak/keycloak-saml-core-public",
          "pubdate": "2022-08-05",
          "solution": "Upgrade to version 18.0.1 or above.",
          "title": "Improper Authorization",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2022-2668",
            "https://access.redhat.com/security/cve/CVE-2022-2668"
          ],
          "uuid": "a96adb82-cb7b-4cea-a135-b671e07fcf40"
        },
        {
          "affected_range": "(,19.0.1]",
          "affected_versions": "All versions up to 19.0.1",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937"
          ],
          "date": "2022-08-18",
          "description": "An issue was discovered in Keycloak that allows arbitrary Javascript to be uploaded for the SAML protocol mapper even if the UPLOAD_SCRIPTS feature is disabled",
          "fixed_versions": [],
          "identifier": "CVE-2022-2668",
          "identifiers": [
            "GHSA-q2gp-gph3-88x9",
            "CVE-2022-2668"
          ],
          "not_impacted": "",
          "package_slug": "maven/org.keycloak/keycloak-saml-core",
          "pubdate": "2022-08-06",
          "solution": "Unfortunately, there is no solution available yet.",
          "title": "Keycloak allows arbitrary Javascript to be uploaded for SAML protocol mapper even if UPLOAD_SCRIPTS feature disabled",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2022-2668",
            "https://access.redhat.com/security/cve/CVE-2022-2668",
            "https://bugzilla.redhat.com/show_bug.cgi?id=2115392",
            "https://github.com/advisories/GHSA-q2gp-gph3-88x9"
          ],
          "uuid": "5cb99c32-583e-4236-89e4-2f68b721db52"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:redhat:single_sign-on:7.0:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:redhat:keycloak:18.0.0:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "secalert@redhat.com",
          "ID": "CVE-2022-2668"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "An issue was discovered in Keycloak that allows arbitrary Javascript to be uploaded for the SAML protocol mapper even if the UPLOAD_SCRIPTS feature is disabled"
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "NVD-CWE-noinfo"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://access.redhat.com/security/cve/CVE-2022-2668",
              "refsource": "MISC",
              "tags": [
                "Issue Tracking",
                "Vendor Advisory"
              ],
              "url": "https://access.redhat.com/security/cve/CVE-2022-2668"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 7.2,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "HIGH",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "exploitabilityScore": 1.2,
          "impactScore": 5.9
        }
      },
      "lastModifiedDate": "2022-08-11T18:07Z",
      "publishedDate": "2022-08-05T17:15Z"
    }
  }
}


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