Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2022-3916— Keycloak: session takeover with oidc offline refreshtokens

Quick assessment

Affected
Red Hat Red Hat Single Sign-On 7
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Red Hat Keycloak是美国红帽(Red Hat)公司的一套为现代应用和服务提供身份验证和管理功能的软件。 Red Hat Keycloak offline_access存在安全漏洞,该漏洞源于缺少root会话验证,以及跨root和用户重用会话 ID,攻击者能够解析附加到先前经过身份验证的用户的用户会话,在使用刷新令牌时,他们将获得原始用户的令牌。

CVSS 6.8 · Medium EPSS 0.95% · P60
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-3916

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Keycloak: session takeover with oidc offline refreshtokens
Source: CVE Program / CVE List V5
Vulnerability Description
A flaw was found in the offline_access scope in Keycloak. This issue would affect users of shared computers more (especially if cookies are not cleared), due to a lack of root session validation, and the reuse of session ids across root and user authentication sessions. This enables an attacker to resolve a user session attached to a previously authenticated user; when utilizing the refresh token, they will be issued a token for the original user.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
会话固定
Source: CVE Program / CVE List V5
Vulnerability Title
Red Hat Keycloak 代码问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Red Hat Keycloak是美国红帽(Red Hat)公司的一套为现代应用和服务提供身份验证和管理功能的软件。 Red Hat Keycloak offline_access存在安全漏洞,该漏洞源于缺少root会话验证,以及跨root和用户重用会话 ID,攻击者能够解析附加到先前经过身份验证的用户的用户会话,在使用刷新令牌时,他们将获得原始用户的令牌。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Red Hat Red Hat Single Sign-On 7 - cpe:/a:redhat:red_hat_single_sign_on:7.6
Red Hat Red Hat Single Sign-On 7.6.1 - cpe:/a:redhat:red_hat_single_sign_on:7.6.1
Red Hat Red Hat Single Sign-On 7.6 for RHEL 7 0:18.0.3-1.redhat_00002.1.el7sso ~ * cpe:/a:redhat:red_hat_single_sign_on:7.6::el7
Red Hat Red Hat Single Sign-On 7.6 for RHEL 7 0:18.0.6-1.redhat_00001.1.el7sso ~ * cpe:/a:redhat:red_hat_single_sign_on:7.6::el7
Red Hat Red Hat Single Sign-On 7.6 for RHEL 8 0:18.0.3-1.redhat_00002.1.el8sso ~ * cpe:/a:redhat:red_hat_single_sign_on:7.6::el8
Red Hat Red Hat Single Sign-On 7.6 for RHEL 8 0:18.0.6-1.redhat_00001.1.el8sso ~ * cpe:/a:redhat:red_hat_single_sign_on:7.6::el8
Red Hat Red Hat Single Sign-On 7.6 for RHEL 9 0:18.0.3-1.redhat_00002.1.el9sso ~ * cpe:/a:redhat:red_hat_single_sign_on:7.6::el9
Red Hat Red Hat Single Sign-On 7.6 for RHEL 9 0:18.0.6-1.redhat_00001.1.el9sso ~ * cpe:/a:redhat:red_hat_single_sign_on:7.6::el9
Red Hat RHEL-8 based Middleware Containers 7.6-15 ~ * cpe:/a:redhat:rhosemc:1.0::el8
Red Hat RHEL-8 based Middleware Containers 7.6-20 ~ * cpe:/a:redhat:rhosemc:1.0::el8

II. Public POCs for CVE-2022-3916

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-3916

请登录查看更多情报信息。

Vendor Advisories for CVE-2022-3916 (12)

Same Patch Batch · Red Hat · 2023-09-20 · 4 CVEs total

CVE-2023-4853 8.1 HIGH Quarkus: http security policy bypass
CVE-2022-3596 7.5 HIGH Instack-undercloud: rsync leaks information to undercloud
CVE-2022-1438 6.4 MEDIUM Keycloak: xss on impersonation under specific circumstances

IV. Related Vulnerabilities

V. Comments for CVE-2022-3916

No comments yet


Leave a comment