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-2020-10758 Vulnerability in maven package org.keycloak:keycloak-wildfly-server-subsystem
CVE-2021-21304 Vulnerability in npm package dynamoose
CVE-2020-2233 Vulnerability in maven package org.jenkins-ci.plugins:pipeline-maven-parent
CVE-2020-7627 Vulnerability in npm package node-key-sender
CVE-2021-43812 Vulnerability in npm package @auth0/nextjs-auth0