Description
It was found that keycloak before 3.4.2 final would permit misuse of a client-side /etc/hosts entry to spoof a URL in a password reset request. An attacker could use this flaw to craft a malicious password reset request and gain a valid reset token, leading to information disclosure or further attacks.
Remediation
References
https://bugzilla.redhat.com/show_bug.cgi?id=1484564
https://github.com/keycloak/keycloak-documentation/pull/268/commits/a2b58aadee42af2c375b72e86dffc2cf23cc3770
Related Vulnerabilities
CVE-2021-23518 Vulnerability in npm package cached-path-relative
CVE-2022-41957 Vulnerability in npm package hummus
CVE-2022-25885 Vulnerability in npm package muhammara
CVE-2020-2129 Vulnerability in maven package org.apache.maven.plugins:maven-compiler-plugin
CVE-2021-3597 Vulnerability in maven package io.undertow:undertow-core