{"schemaVersion":3,"id":"CVE-2017-12161","aliases":["GHSA-959q-32g8-vvp7"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2018-02-21T18:00:00.000Z","modified":"2024-08-05T18:28:16.559Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.3,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01308,"percentile":0.70156,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01308},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01308,"percentile":0.70156}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01159,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01308,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01308,"percentile":0.70156}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-602","name":"Client-Side Enforcement of Server-Side Security","description":"The product is composed of a server that relies on the client to implement a mechanism that is intended to protect the server.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/602.html"},{"id":"CWE-640","name":"Weak Password Recovery Mechanism for Forgotten Password","description":"The product contains a mechanism for users to recover or change their passwords without knowing the original password, but the mechanism is weak.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/640.html"}],"affected":[{"vendor":"keycloak","product":"keycloak","name":"keycloak","label":"keycloak","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.4.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.4.2","eol":null,"hubHref":"/vendor/keycloak/keycloak"},{"vendor":"org.keycloak","product":"keycloak-core","name":"org.keycloak:keycloak-core","label":"keycloak-core","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.keycloak/keycloak-core","purlType":"maven","versions":[{"text":"< 3.4.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.4.2","eol":null,"hubHref":null},{"vendor":"red hat, inc.","product":"keycloak","name":"keycloak","label":"keycloak","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.4.2.Final","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.4.2.Final","eol":null,"hubHref":"/vendor/red_hat_inc/keycloak"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1484564","label":"bugzilla.redhat.com/show_bug.cgi?id=1484564","hostname":"bugzilla.redhat.com","tags":["X Refsource CONFIRM","Issue Tracking","Third Party Advisory","WEB"]},{"url":"https://github.com/keycloak/keycloak-documentation/pull/268/commits/a2b58aadee42af2c375b72e86dffc2cf23cc3770","label":"github.com/keycloak/keycloak-documentation/pull/268/commits/a2b58aadee42af2c375b72e86dffc2cf23cc3770","hostname":"github.com","tags":["X Refsource CONFIRM","Patch","Third Party Advisory","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-12161","label":"nvd.nist.gov/vuln/detail/CVE-2017-12161","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/advisories/GHSA-959q-32g8-vvp7","label":"github.com/advisories/GHSA-959q-32g8-vvp7","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":["CVE-2017-1000500"],"related":[]},"timeline":[{"kind":"published","date":"2018-02-21T18:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T18:28:16.559Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T12:21:26.482Z","stale":false,"partial":false}}