GSD-2022-2668

Vulnerability from gsd - Updated: 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…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…