CVE intelligence and bounded remediation
CVE-2017-12158 — It was found that Keycloak would accept a HOST header URL in the admin console and use it to determine web resource locations
Medium
CVSS 5.4
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.
- Severity
- Medium
- CVSS
- 5.4 (3.0)
- Published
- 2017-10-26
- CISA KEV
- Not currently listed
- Ecosystem
- software/application
- Weaknesses
- CWE-444, CWE-79
Affected products
- redhat / single_sign_on / 7.0
- redhat / single_sign_on / 7.1
- keycloak / keycloak
Matched remediation archetype
HTTP request smuggling and message-boundary ambiguity
This catalog composition supplies bounded fallback guidance. Explicitly reviewed curated workflows load with the complete record below.
Check exposure
- Inventory every proxy, CDN, gateway, load balancer, service mesh, and application server hop on affected request paths.
- Compare documented parsing and normalization behavior for message length, transfer coding, duplicate headers, and protocol translation.
- Identify connection reuse and which downstream services trust headers added by intermediaries.
Remediate safely
- Update affected intermediaries and origin servers and align them on a single standards-compliant request framing policy.
- Reject ambiguous length, transfer-coding, duplicate, malformed, and unsupported framing before forwarding.
- Normalize or remove hop-by-hop and identity headers at one controlled boundary and add multi-hop regression tests.
Authoritative sources
Complete CVE record and remediation plan
The detailed catalog view below loads this exact record, its source evidence, and the full seven-phase agentic change plan.