Cross-site Request Forgery (CSRF) Affecting org.keycloak:keycloak-services package, versions [,3.3.0.Final)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.32% (72nd 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 Cross-site Request Forgery (CSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGKEYCLOAK-31565
  • published5 Nov 2017
  • disclosed18 Oct 2017
  • creditPrapti Mittal

Introduced: 18 Oct 2017

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

How to fix?

Upgrade org.keycloak:keycloak-services to version 3.3.0.Final or higher.

Overview

org.keycloak:keycloak-services is an open Source Identity and Access Management for modern Applications and Services.

Affected versions of the package are vulnerable to Cross-site Request Forgery (CSRF). 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.

CVSS Scores

version 3.1