CVE-2017-12158
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.0•MEDIUM•Score: 5.4CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- v2.0•LOW•Score: 3.5AV:N/AC:M/Au:S/C:N/I:P/A:N
EPSS Trends
Current EPSS score: 0.67%• Percentile: 72%
Techniques & Countermeasures
- CWE-444•Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')
The product acts as an intermediary HTTP agent (such as a proxy or firewall) in the data flow between two entities such as a client and server, but it does not interpret malformed HTTP requests or responses in ways that are consistent with how the messages will be processed by those entities that are at the ultimate destination.
- CWE-79•Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Affected Systems
- keycloak•keycloak
na
- org.keycloak•keycloak-parent
< 3.4.0
- red hat, inc.•keycloak
3.4.0
- redhat•single_sign_on
7.0 | 7.1
References (7)
- https://access.redhat.com/errata/RHSA-2017:2904
- https://access.redhat.com/errata/RHSA-2017:2905
- https://access.redhat.com/errata/RHSA-2017:2906
- https://bugzilla.redhat.com/show_bug.cgi?id=1489161
- http://www.securityfocus.com/bid/101618
- https://nvd.nist.gov/vuln/detail/CVE-2017-12158
- https://web.archive.org/web/20210124114020/http://www.securityfocus.com/bid/101618