BreachSpiderVerified, not vibes

CVE-2023-4918 in Redhat Keycloak

High 8.8 Fix available

A flaw was found in the Keycloak package, more specifically org.keycloak.userprofile. When a user registers itself through registration flow, the "password" and "password-confirm" field from the form will occur as regular user attributes. All users and clients with proper rights and roles are able to read users attr...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.18.8
EPSS0.6%
EPSS percentile44th
FixAvailable

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Redhat Keycloak 22.0.2

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

A flaw was found in the Keycloak package, more specifically org.keycloak.userprofile. When a user registers itself through registration flow, the "password" and "password-confirm" field from the form will occur as regular user attributes. All users and clients with proper rights and roles are able to read users attributes, allowing a malicious user with minimal access to retrieve the users passwords in clear text, jeopardizing their environment.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2023-4918
BreachSpider IDBS-2023-GLOBAL-055919-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2023-09-12
Last modified2024-11-21
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-256: CWE-256

CWE-319: CWE-319

Related attack patterns (CAPEC)

CAPEC-65 Sniff Application Code via CWE-319

CAPEC-102 Session Sidejacking via CWE-319

CAPEC-383 Harvesting Information via API Event Monitoring via CWE-319

CAPEC-477 Signature Spoofing by Mixing Signed and Unsigned Content via CWE-319

CAPEC-117 Interception via CWE-319

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A vulnerability in the Keycloak package allows unauthorized access to user passwords due to improper handling of password fields during user registration.

The vulnerability occurs because the 'password' and 'password-confirm' fields are treated as regular user attributes, which can be accessed by any user or client with the appropriate rights and roles.

Questions

What is CVE-2023-4918?

A vulnerability in the Keycloak package allows unauthorized access to user passwords due to improper handling of password fields during user registration.

What is the CVSS score for CVE-2023-4918?

CVE-2023-4918 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.6%.

Is CVE-2023-4918 actively exploited?

No confirmed active exploitation of CVE-2023-4918 as of 2026-05-30.

How do I remediate CVE-2023-4918?

Priority: IMMEDIATE. Advisory: https://access.redhat.com/security/cve/CVE-2023-4918 PSIRT: [email protected]

What systems are affected by CVE-2023-4918?

CVE-2023-4918 affects Redhat Keycloak.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Redhat","product":"Keycloak","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.