CVE-2017-12161
CVE-2017-12161 is a high-severity vulnerability in Keycloak with a CVSS 3.x base score of 8.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-640.
Key facts
- Severity: High (CVSS 3.x base score 8.8)
- CVSS v2: 4.3
- EPSS exploit prediction: 1% (68th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-640
- Affected product: Keycloak
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2017-12161?
- 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.
- How severe is CVE-2017-12161?
- CVE-2017-12161 has a CVSS 3.x base score of 8.8, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2017-12161 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (68th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2017-12161?
- CVE-2017-12161 affects Keycloak. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2017-12161?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2017-12161 published?
- CVE-2017-12161 was published on 2018-02-21 and last updated on 2026-06-17.
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1484564
- https://github.com/keycloak/keycloak-documentation/pull/268/commits/a2b58aadee42af2c375b72e86dffc2cf23cc3770
Affected products (1)
- cpe:2.3:a:keycloak:keycloak:*:*:*:*:*:*:*:*
More vulnerabilities in Keycloak
- CVE-2014-3709 — High (CVSS 8.8): The org.keycloak.services.resources.SocialResource.callback method in JBoss KeyCloak before 1.0.3.Final allows remote…
- CVE-2014-3651 — High (CVSS 7.5): JBoss KeyCloak before 1.0.3.Final allows remote attackers to cause a denial of service (resource consumption) via a…
- CVE-2017-12159 — High (CVSS 7.5): It was found that the cookie used for CSRF prevention in Keycloak was not unique to each session. An attacker could use…
- CVE-2017-12158 — 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…
Other CWE-640 vulnerabilities
- CVE-2025-63314 — Critical (CVSS 10.0): A static password reset token in the password reset function of DDSN Interactive Acora CMS v10.7.1 allows attackers to…
- CVE-2023-7028 — Critical (CVSS 10.0): An issue has been discovered in GitLab CE/EE affecting all versions from 16.1 prior to 16.1.6, 16.2 prior to 16.2.9,…
- CVE-2026-13019 — Critical (CVSS 9.8): Esri Portal for ArcGIS versions 12.1 and earlier on Windows, Linux and Kubernetes have a missing authentication for…
- CVE-2026-37106 — Critical (CVSS 9.8): An issue in DokuWiki 2025-05-14b "Librarian" 56.2 allows a remote attacker to create an account via the register…
- CVE-2026-12417 — Critical (CVSS 9.8): The SignUp & SignIn plugin for WordPress is vulnerable to Authentication Bypass via Weak Password Reset Validation…
- CVE-2026-12416 — Critical (CVSS 9.8): The Invoice Generator plugin for WordPress is vulnerable to Account Takeover via Password Reset in all versions up to,…