Improper authorization in Red Hat keycloak
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 3 fixed, 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-285.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Red Hat | keycloak | 3.4.0 | — | No fix listed | CNA |
| — | org.keycloak:keycloak-parent (Maven) | before 3.3.0.Final | 3.3.0.Final | Patch available | GHSA-qc72-gfvw-76h7 |
- keycloak VendorRed Hat Affected 3.4.0 Fixed in — No fix listed CNA
- org.keycloak:keycloak-parent (Maven) Vendor— Affected before 3.3.0.Final Fixed in 3.3.0.Final Patch available GHSA-qc72-gfvw-76h7
Remediation
- Fix · GHSA-qc72-gfvw-76h7 org.keycloak:keycloak-parent (Maven) Fixed in 3.3.0.Final Advisory →
Red Hat 3 advisories
- RHSA-2017:2905 Released 2017-10-17 · Red Hat rating Moderaterh-sso7-keycloak security update
- Red Hat Single Sign-On 7.1 for RHEL 7 Server rh-sso7-keycloak-2.5.14-1.Final_redhat_1.1.jbcs.el7, rh-sso7-keycloak-server-2.5.14-1.Final_redhat_1.1.jbcs.el7
- RHSA-2017:2904 Released 2017-10-17 · Red Hat rating Moderaterh-sso7-keycloak security update
- Red Hat Single Sign-On 7.1 for RHEL 6 Server rh-sso7-keycloak-2.5.14-1.Final_redhat_1.1.jbcs.el6, rh-sso7-keycloak-server-2.5.14-1.Final_redhat_1.1.jbcs.el6
- RHSA-2017:2906 Released 2017-10-17 · Red Hat rating ModerateRed Hat Single Sign-On security update
- Red Hat Single Sign-On 7.1
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
Red Hat keycloak — RHSA-2017:2904
3 records Highest priority Priority LOW 3 LOW
Other records, highest priority first
- TI-2017-08950 Insufficient session expiration in Red Hat keycloakPriority LOW 38
- TI-2017-08949 Cross-site scripting in Red Hat keycloakPriority LOW 26
- Advisory ·
Red Hat keycloak — RHSA-2017:2905
3 records Highest priority Priority LOW 3 LOW
Other records, highest priority first
- TI-2017-08950 Insufficient session expiration in Red Hat keycloakPriority LOW 38
- TI-2017-08949 Cross-site scripting in Red Hat keycloakPriority LOW 26
Show 1 more group
- Advisory ·
Red Hat keycloak — RHSA-2017:2906
3 records Highest priority Priority LOW 3 LOW
Other records, highest priority first
- TI-2017-08950 Insufficient session expiration in Red Hat keycloakPriority LOW 38
- TI-2017-08949 Cross-site scripting in Red Hat keycloakPriority LOW 26
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Mobile Application Platform 4 | Affected | No fix planned: Will not fix |
| Red Hat Single Sign-On 7.1 | Fixed | RHSA-2017:2906 |
| Red Hat Single Sign-On 7.1 for RHEL 6 Server | Fixed | RHSA-2017:2904 |
| Red Hat Single Sign-On 7.1 for RHEL 7 Server | Fixed | RHSA-2017:2905 |
Timeline
- 2026-10-02 Threatist record created from CVE-2017-12160
- 2026-10-03 Alias added: GHSA-qc72-gfvw-76h7
References
More Red Hat Keycloak vulnerabilities
- TI-2024-01049 Keycloak: path transversal in redirection validation CVSS 3.1HIGH 8.1
- TI-2023-26623 The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6… CVSS 3.1MEDIUM 5.9
- TI-2020-08665 Server-side request forgery in keycloak CVSS 3.1MEDIUM 5.3
- TI-2022-03468 Path traversal in Red Hat Keycloak CVSS 3.1CRITICAL 9.1
- TI-2021-03612 A POST based reflected Cross Site Scripting vulnerability on has been identified in Keycloak. CVSS 3.1MEDIUM 6.1
- TI-2022-03994 Cross-site scripting in keycloak CVSS 3.1CRITICAL 10.0
Sources
- CVE-2017-12160 · CVE Program
- CVE-2017-12160 · NVD
- FIRST EPSS
- GHSA-qc72-gfvw-76h7 · GitHub Advisory Database · CC BY 4.0
- CVE-2017-12160 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences