{"id":"CVE-2017-12160","published":"2017-10-26T17:00:00Z","modified":"2024-09-16T18:48:51Z","title":"It was found that Keycloak oauth would permit an authenticated resource to obtain an access/refresh token pair from…","vendor":"Red Hat","product":"keycloak","tier":"tail","description":{"text":"It was found that Keycloak oauth would permit an authenticated resource to obtain an access/refresh token pair from the authentication server, permitting indefinite usage in the case of permission revocation. An attacker on an already compromised resource could use this flaw to grant himself continued permissions and possibly conduct further attacks.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01924,"percentile":0.80444,"provenance":"source"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2017:2904","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2905","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2906","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1484154","tags":["x_refsource_CONFIRM"]}],"priority":{"score":16.1,"factors":[{"name":"EPSS percentile","points":16.09}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat, Inc.","product":"keycloak","versions":["3.4.0"]}],"affected":[{"ecosystem":"Maven","package":"org.keycloak:keycloak-parent","vulnerableRanges":["<3.3.0.Final"],"patched":["3.3.0.Final"],"from":["GHSA-qc72-gfvw-76h7"],"provenance":"source"}],"summary":{"text":"The flaw is an improper authorization issue in the OAuth implementation of Red Hat's Keycloak product, which lets an authenticated resource obtain an access/refresh token pair from the authentication server. Because those tokens can be used indefinitely even after permissions are revoked, an attacker who has already compromised a resource could use this to keep their own access and potentially carry out further attacks.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:37:23Z"},"euvd":{"id":"EUVD-2022-4944","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2017-12160","published":"2017-10-26","fixed":"3.3.0.Final","kev":false},{"cve":"CVE-2017-12158","published":"2017-10-26","fixed":"3.4.0","kev":false,"link":{"from":"CVE-2017-12160","to":"CVE-2017-12158","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.keycloak:keycloak-parent","fromFixed":"3.3.0.Final","toFixed":"3.4.0","daysApart":0}]}},{"cve":"CVE-2017-12159","published":"2017-10-26","fixed":"3.4.0","kev":false,"link":{"from":"CVE-2017-12160","to":"CVE-2017-12159","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.keycloak:keycloak-parent","fromFixed":"3.3.0.Final","toFixed":"3.4.0","daysApart":0}]}},{"cve":"CVE-2018-14657","published":"2018-11-13","fixed":"4.6.0.Final","kev":false}],"package":"Maven:org.keycloak:keycloak-parent"}}