Bug 1868580 - keycloak: host header poisoning vulnerability
Summary: keycloak: host header poisoning vulnerability
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1854400
TreeView+ depends on / blocked
 
Reported: 2020-08-13 08:04 UTC by Dhananjay Arunesh
Modified: 2025-08-07 11:53 UTC (History)
49 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-08-20 05:29:32 UTC
Embargoed:


Attachments (Terms of Use)

Description Dhananjay Arunesh 2020-08-13 08:04:05 UTC
A vulnerability was found in keycloak, where it is common for password reset functionality to include the Host header value when creating password reset links that use a generated secret token. If the application processes an attacker-controlled domain to create a password reset link, the victim may click on the link in the email and allow the attacker to obtain the reset token, thus resetting the victim’s password.

References:
https://issues.redhat.com/browse/KEYCLOAK-14656

Comment 7 Paramvir jindal 2020-08-20 05:17:01 UTC
Red Hat Product Security does not consider this to be a vulnerability. As it is recommended to use Keycloak with a hostname, or a reverse proxy should be placed in front of Keycloak that validates the Host header

Comment 8 Paramvir jindal 2020-08-20 05:20:22 UTC
Statement:

Red Hat Product Security does not consider this to be a vulnerability. As it is recommended to use Keycloak with a hostname, or a reverse proxy should be placed in front of Keycloak that validates the Host header.

https://www.keycloak.org/docs/latest/server_installation/#_hostname


Note You need to log in before you can comment on or make changes to this bug.