CVE-2017-12158

Description

It was found that Keycloak would accept a HOST header URL in the admin console and use it to determine web resource locations. An attacker could use this flaw against an authenticated user to attain reflected XSS via a malicious server.

Categories

5.4
CVSS
Severity: Medium
CVSS 3.0 •
CVSS 2.0 •
EPSS 0.67% Top 30%
Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com
Affected: Red Hat, Inc. keycloak
Published at:
Updated at:

References

Link Tags
https://access.redhat.com/errata/RHSA-2017:2904 third party advisory vendor advisory
https://access.redhat.com/errata/RHSA-2017:2905 third party advisory vendor advisory
https://access.redhat.com/errata/RHSA-2017:2906 third party advisory vendor advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1489161 issue tracking
http://www.securityfocus.com/bid/101618 vdb entry third party advisory

Frequently Asked Questions

What is the severity of CVE-2017-12158?
CVE-2017-12158 has been scored as a medium severity vulnerability.
How to fix CVE-2017-12158?
To fix CVE-2017-12158, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2017-12158 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2017-12158 is being actively exploited. According to its EPSS score, there is a ~1% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2017-12158?
CVE-2017-12158 affects Red Hat, Inc. keycloak.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.