CVE-2022-3916
MEDIUM6.8EPSS 0.23%Keycloak vulnerable to session takeover with OIDC offline refreshtokens
描述
An issue was discovered in Keycloak when using a client with the `offline_access` scope. Reuse of session ids across root and user authentication sessions and a lack of root session validation enabled attackers to resolve a user session attached to a different previously authenticated user. This issue most affects users of shared computers. Suppose a user logs out of their account (without clearing their cookies) in a mobile app or similar client that includes the `offline_access` scope, and another user authenticates to the application. In that case, it will share the same root session id, and when utilizing the refresh token, they will be issued a token for the original user.
受影響套件(1)
- Maven/org.keycloak:keycloak-parentfrom 0, < 20.0.2
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.8 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
參考連結(15)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-3916
- PATCHhttps://github.com/keycloak/keycloak
- WEBhttps://access.redhat.com/errata/RHSA-2022:8961
- WEBhttps://access.redhat.com/errata/RHSA-2022:8962
- WEBhttps://access.redhat.com/errata/RHSA-2022:8963
- WEBhttps://access.redhat.com/errata/RHSA-2022:8964
- WEBhttps://access.redhat.com/errata/RHSA-2022:8965
- WEBhttps://access.redhat.com/errata/RHSA-2023:1043
- WEBhttps://access.redhat.com/errata/RHSA-2023:1044
- WEBhttps://access.redhat.com/errata/RHSA-2023:1045
- WEBhttps://access.redhat.com/errata/RHSA-2023:1047
- WEBhttps://access.redhat.com/errata/RHSA-2023:1049
- WEBhttps://access.redhat.com/security/cve/CVE-2022-3916
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=2141404
- WEBhttps://github.com/keycloak/keycloak/security/advisories/GHSA-97g8-xfvw-q4hg