gsd-2022-1245
Vulnerability from gsd
Modified
2023-12-13 01:19
Details
A privilege escalation flaw was found in the token exchange feature of keycloak. Missing authorization allows a client application holding a valid access token to exchange tokens for any target client by passing the client_id of the target. This could allow a client to gain unauthorized access to additional services.
Aliases
Aliases
{ "GSD": { "alias": "CVE-2022-1245", "description": "A privilege escalation flaw was found in the token exchange feature of keycloak. Missing authorization allows a client application holding a valid access token to exchange tokens for any target client by passing the client_id of the target. This could allow a client to gain unauthorized access to additional services.", "id": "GSD-2022-1245", "references": [ "https://www.suse.com/security/cve/CVE-2022-1245.html", "https://access.redhat.com/errata/RHSA-2022:1709", "https://access.redhat.com/errata/RHSA-2022:1711", "https://access.redhat.com/errata/RHSA-2022:1712", "https://access.redhat.com/errata/RHSA-2022:1713" ] }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "aliases": [ "CVE-2022-1245" ], "details": "A privilege escalation flaw was found in the token exchange feature of keycloak. Missing authorization allows a client application holding a valid access token to exchange tokens for any target client by passing the client_id of the target. This could allow a client to gain unauthorized access to additional services.", "id": "GSD-2022-1245", "modified": "2023-12-13T01:19:28.509081Z", "schema_version": "1.4.0" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "secalert@redhat.com", "ID": "CVE-2022-1245", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "keycloak", "version": { "version_data": [ { "version_value": "keycloak versions prior to 18.0.0" } ] } } ] }, "vendor_name": "n/a" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "A privilege escalation flaw was found in the token exchange feature of keycloak. Missing authorization allows a client application holding a valid access token to exchange tokens for any target client by passing the client_id of the target. This could allow a client to gain unauthorized access to additional services." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-862-\u003eCWE-863" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/keycloak/keycloak/security/advisories/GHSA-75p6-52g3-rqc8", "refsource": "MISC", "url": "https://github.com/keycloak/keycloak/security/advisories/GHSA-75p6-52g3-rqc8" } ] } }, "gitlab.com": { "advisories": [ { "affected_range": "(,18.0.0)", "affected_versions": "All versions before 18.0.0", "cvss_v2": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "cwe_ids": [ "CWE-1035", "CWE-639", "CWE-937" ], "date": "2023-06-27", "description": "A privilege escalation flaw was found in the token exchange feature of keycloak. Missing authorization allows a client application holding a valid access token to exchange tokens for any target client by passing the client_id of the target. This could allow a client to gain unauthorized access to additional services.", "fixed_versions": [ "18.0.0" ], "identifier": "CVE-2022-1245", "identifiers": [ "CVE-2022-1245", "GHSA-75p6-52g3-rqc8" ], "not_impacted": "All versions starting from 18.0.0", "package_slug": "maven/org.keycloak/keycloak-saml-core-public", "pubdate": "2022-07-08", "solution": "Upgrade to version 18.0.0 or above.", "title": "Missing Authorization", "urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2022-1245", "https://github.com/keycloak/keycloak/security/advisories/GHSA-75p6-52g3-rqc8" ], "uuid": "4e275a31-89e9-4998-a4df-12f18d46797b" }, { "affected_range": "(,18.0.0)", "affected_versions": "All versions before 18.0.0", "cvss_v2": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "cwe_ids": [ "CWE-1035", "CWE-639", "CWE-937" ], "date": "2023-06-27", "description": "A privilege escalation flaw was found in the token exchange feature of keycloak. Missing authorization allows a client application holding a valid access token to exchange tokens for any target client by passing the client_id of the target. This could allow a client to gain unauthorized access to additional services.", "fixed_versions": [ "18.0.0" ], "identifier": "CVE-2022-1245", "identifiers": [ "CVE-2022-1245", "GHSA-75p6-52g3-rqc8", "GMS-2022-1039" ], "not_impacted": "All versions starting from 18.0.0", "package_slug": "maven/org.keycloak/keycloak-services", "pubdate": "2022-07-08", "solution": "Upgrade to version 18.0.0 or above.", "title": "Missing Authorization", "urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2022-1245", "https://github.com/keycloak/keycloak/security/advisories/GHSA-75p6-52g3-rqc8", "https://github.com/advisories/GHSA-75p6-52g3-rqc8" ], "uuid": "8993f79d-12e6-49c5-b26e-e81b9fa04b50" }, { "affected_range": "(,0)", "affected_versions": "All versions before 18.0.0", "cwe_ids": [ "CWE-1035", "CWE-937" ], "date": "2022-04-26", "description": "A privilege escalation flaw was found in the token exchange feature of keycloak. Missing authorization allows a client application holding a valid access token to exchange tokens for any target client by passing the client_id of the target. This could allow a client to gain unauthorized access to additional services.", "fixed_versions": [ "18.0.0" ], "identifier": "GMS-2022-1039", "identifiers": [ "GHSA-75p6-52g3-rqc8", "GMS-2022-1039", "CVE-2022-1245" ], "not_impacted": "All versions starting from 18.0.0", "package_slug": "maven/org.keycloak/keycloak-services", "pubdate": "2022-04-26", "solution": "Upgrade to version 18.0.0 or above.", "title": "Duplicate of ./maven/org.keycloak/keycloak-services/CVE-2022-1245.yml", "urls": [ "https://github.com/keycloak/keycloak/security/advisories/GHSA-75p6-52g3-rqc8", "https://github.com/advisories/GHSA-75p6-52g3-rqc8" ], "uuid": "384014dd-7ad5-444c-bec7-17b9e1b1bd14" } ] }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "18.0.0", "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "secalert@redhat.com", "ID": "CVE-2022-1245" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "en", "value": "A privilege escalation flaw was found in the token exchange feature of keycloak. Missing authorization allows a client application holding a valid access token to exchange tokens for any target client by passing the client_id of the target. This could allow a client to gain unauthorized access to additional services." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "en", "value": "CWE-639" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/keycloak/keycloak/security/advisories/GHSA-75p6-52g3-rqc8", "refsource": "MISC", "tags": [ "Third Party Advisory" ], "url": "https://github.com/keycloak/keycloak/security/advisories/GHSA-75p6-52g3-rqc8" } ] } }, "impact": { "baseMetricV2": { "acInsufInfo": false, "cvssV2": { "accessComplexity": "LOW", "accessVector": "NETWORK", "authentication": "NONE", "availabilityImpact": "PARTIAL", "baseScore": 7.5, "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "version": "2.0" }, "exploitabilityScore": 10.0, "impactScore": 6.4, "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "severity": "HIGH", "userInteractionRequired": false }, "baseMetricV3": { "cvssV3": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 9.8, "baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "version": "3.1" }, "exploitabilityScore": 3.9, "impactScore": 5.9 } }, "lastModifiedDate": "2023-06-27T15:57Z", "publishedDate": "2022-07-08T00:15Z" } } }
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.