Cross-site Scripting (XSS) Affecting rh-sso7-keycloak-server package, versions <0:3.4.14-1.Final_redhat_00001.1.jbcs.el7


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.1% (42nd 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 Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-RHSSO7KEYCLOAKSERVER-4478616
  • published26 Mar 2023
  • disclosed13 Nov 2018

Introduced: 13 Nov 2018

CVE-2018-14655  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade RHEL:7 rh-sso7-keycloak-server to version 0:3.4.14-1.Final_redhat_00001.1.jbcs.el7 or higher.
This issue was patched in RHSA-2018:3593.

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.

A flaw was found in Keycloak 3.4.3.Final, 4.0.0.Beta2, 4.3.0.Final. When using 'response_mode=form_post' it is possible to inject arbitrary Javascript-Code via the 'state'-parameter in the authentication URL. This allows an XSS-Attack upon succesfully login.