Keycloak 26.0.8 Multiple Vulnerabilities (26_0_8)

medium Nessus Plugin ID 214216

Synopsis

The remote host is missing one or more security updates.

Description

The version of Keycloak installed on the remote host is prior to 26.0.8. It is, therefore, affected by multiple vulnerabilities as referenced in the 26_0_8 advisory.

- A denial of service vulnerability was found in Keycloak that could allow an administrative user with the right to change realm settings to disrupt the service. This action is done by modifying any of the security headers and inserting newlines, which causes the Keycloak server to write to a request that has already been terminated, leading to the failure of said request. (CVE-2024-11734)

- A vulnerability was found in Keycloak. Admin users may have to access sensitive server environment variables and system properties through user-configurable URLs. When configuring backchannel logout URLs or admin URLs, admin users can include placeholders like ${env.VARNAME} or ${PROPNAME}. The server replaces these placeholders with the actual values of environment variables or system properties during URL processing. (CVE-2024-11736)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Keycloak version 26.0.8 or later.

See Also

https://github.com/advisories/GHSA-w3g8-r9gw-qrh8

https://github.com/advisories/GHSA-f4v7-3mww-9gc2

Plugin Details

Severity: Medium

ID: 214216

File Name: keycloak_26_0_8.nasl

Version: 1.2

Type: local

Agent: unix

Family: Misc.

Published: 1/15/2025

Updated: 1/17/2025

Configuration: Enable thorough checks

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.1

CVSS v2

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 4.5

Vector: CVSS2#AV:N/AC:L/Au:M/C:C/I:N/A:N

CVSS Score Source: CVE-2024-11736

CVSS v3

Risk Factor: Medium

Base Score: 4.9

Temporal Score: 4.3

Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:keycloak:keycloak

Required KB Items: Host/local_checks_enabled, Host/uname, installed_sw/Keycloak

Exploit Ease: No known exploits are available

Patch Publication Date: 1/15/2025

Vulnerability Publication Date: 1/13/2025

Reference Information

CVE: CVE-2024-11734, CVE-2024-11736

IAVB: 2025-B-0006