BreachSpiderVerified, not vibes

CVE-2017-12161 in Keycloak

High 8.8 Fix available

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.

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.08.8
EPSS1.3%
EPSS percentile71th
FixAvailable

Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Keycloak Keycloak < 3.4.2

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2017-12161
BreachSpider IDBS-2018-GLOBAL-243392-H
CVSS vectorCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published2018-02-21
Last modified2024-11-21
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-602: CWE-602

CWE-640: CWE-640

Related attack patterns (CAPEC)

CAPEC-31 Accessing/Intercepting/Modifying HTTP Cookies via CWE-602

CAPEC-162 Manipulating Hidden Fields via CWE-602

CAPEC-208 Removing/short-circuiting 'Purse' logic: removing/mutating 'cash' decrements via CWE-602

CAPEC-383 Harvesting Information via API Event Monitoring via CWE-602

CAPEC-385 Transaction or Event Tampering via Application API Manipulation via CWE-602

Show all 13

CAPEC-387 Navigation Remapping To Propagate Malicious Content via CWE-602

CAPEC-388 Application API Button Hijacking via CWE-602

CAPEC-50 Password Recovery Exploitation via CWE-640

CAPEC-202 Create Malicious Client via CWE-602

CAPEC-207 Removing Important Client Functionality via CWE-602

CAPEC-384 Application API Message Manipulation via Man-in-the-Middle via CWE-602

CAPEC-386 Application API Navigation Remapping via CWE-602

CAPEC-21 Exploitation of Trusted Identifiers via CWE-602

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2018. A high severity vulnerability affects Keycloak systems (CVE-2017-12161). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

Vulnerability details: 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. CVSS vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Questions

What is CVE-2017-12161?

This vulnerability was disclosed in 2018. A high severity vulnerability affects Keycloak systems (CVE-2017-12161). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2017-12161?

CVE-2017-12161 has CVSS 8.8 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 1.3%.

Is CVE-2017-12161 actively exploited?

No confirmed active exploitation of CVE-2017-12161 as of 2026-05-30.

How do I remediate CVE-2017-12161?

Priority: MEDIUM.

What systems are affected by CVE-2017-12161?

CVE-2017-12161 affects Keycloak Keycloak.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Keycloak","product":"Keycloak","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.