VYPR
High severityNVD Advisory· Published Aug 14, 2019· Updated Aug 4, 2024

CVE-2019-10199

CVE-2019-10199

Description

It was found that Keycloak's account console, up to 6.0.1, did not perform adequate header checks in some requests. An attacker could use this flaw to trick an authenticated user into performing operations via request from an untrusted domain.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
org.keycloak:keycloak-coreMaven
< 7.0.07.0.0

Affected products

2

Patches

Vulnerability mechanics

Root cause

"Missing header validation in Keycloak's account console allows CSRF attacks."

Attack vector

An attacker crafts a malicious page on an untrusted domain that sends a cross-origin request to the Keycloak account console. Because the account console does not perform adequate header checks (such as verifying the Origin or Referer header), the request is accepted as legitimate [CWE-352]. The attacker must trick an authenticated Keycloak user into visiting the malicious page (e.g., via phishing or a cross-site scripting gadget on another site). Once the victim's browser sends the forged request, the account console processes it on behalf of the authenticated user, enabling unauthorized operations [ref_id=1].

Affected code

The advisory does not specify exact file paths or function names. The vulnerability resides in the Keycloak account console component, which handles authenticated user operations. The account console failed to validate incoming HTTP headers (such as Origin or Referer) on certain requests [ref_id=1].

What the fix does

The advisory states that Keycloak's account console up to version 6.0.1 did not perform adequate header checks. No patch diff is included in the bundle, but the remediation would involve adding server-side validation of the Origin or Referer HTTP header (or a CSRF token) to distinguish same-origin requests from cross-origin ones [CWE-20]. This closes the CSRF vector by rejecting requests that lack a valid origin or token, ensuring that only intentionally submitted requests from the legitimate application context are processed [CWE-352].

Preconditions

  • authThe victim must be authenticated to the Keycloak account console at the time of the attack.
  • inputThe attacker must craft a cross-origin request (e.g., via a malicious HTML page) that targets the account console endpoints.
  • networkThe victim's browser must be able to reach the Keycloak server; no special network position is required beyond standard web access.

Generated on May 27, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

3

News mentions

0

No linked articles in our index yet.