Insufficient Session Expiration Affecting rh-sso7-keycloak-server package, versions <0:2.5.14-1.Final_redhat_1.1.jbcs.el7


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.29% (69th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Insufficient Session Expiration vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-RHSSO7KEYCLOAKSERVER-4457076
  • published26 Mar 2023
  • disclosed17 Oct 2017

Introduced: 17 Oct 2017

CVE-2017-12159  (opens in a new tab)
CWE-613  (opens in a new tab)

How to fix?

Upgrade RHEL:7 rh-sso7-keycloak-server to version 0:2.5.14-1.Final_redhat_1.1.jbcs.el7 or higher.
This issue was patched in RHSA-2017:2905.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rh-sso7-keycloak-server package and not the rh-sso7-keycloak-server package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

It was found that the cookie used for CSRF prevention in Keycloak was not unique to each session. An attacker could use this flaw to gain access to an authenticated user session, leading to possible information disclosure or further attacks.