Keycloak < 26.3.0 Phishing Vulnerability

medium Nessus Plugin ID 242321

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.3.0. It is, therefore, affected by a phishing vulnerability. A flaw was found in Keycloak. When an authenticated attacker attempts to merge accounts with another existing account during an identity provider (IdP) login, the attacker will subsequently be prompted to 'review profile' information. This vulnerability allows the attacker to modify their email address to match that of a victim's account, triggering a verification email sent to the victim's email address. The attacker's email address is not present in the verification email content, making it a potential phishing opportunity. If the victim clicks the verification link, the attacker can gain access to the victim's account.

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 to 26.3.0 or later.

See Also

https://github.com/advisories/GHSA-gj52-35xm-gxjh

Plugin Details

Severity: Medium

ID: 242321

File Name: keycloak_26_3_0.nasl

Version: 1.1

Type: local

Agent: unix

Family: Misc.

Published: 7/18/2025

Updated: 7/18/2025

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.0

CVSS v2

Risk Factor: Medium

Base Score: 5.6

Vector: CVSS2#AV:N/AC:H/Au:S/C:C/I:P/A:N

CVSS Score Source: CVE-2025-7365

CVSS v3

Risk Factor: Medium

Base Score: 5.4

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

Vulnerability Information

CPE: cpe:/a:keycloak:keycloak

Required KB Items: installed_sw/Keycloak

Patch Publication Date: 7/10/2025

Vulnerability Publication Date: 7/10/2025

Reference Information

CVE: CVE-2025-7365

IAVB: 2025-B-0114