Horizon Alert
Summary of the vulnerability and why it matters
A vulnerability in the HAPI FHIR Java implementation allows unauthenticated access to an endpoint that can be tricked into revealing authentication tokens for legitimate FHIR servers. This occurs when a malicious actor can register a domain that shares a prefix with a configured server URL, potentially leading to the compromise of sensitive healthcare data exchange credentials. The issue has been addressed in version 6.9.4.
- Unauthenticated access could expose server credentials.
- Healthcare data exchange services are common targets.
- Confirm relevance and assess exposure to credentials.
Attack Path
How an attacker could exploit the issue
An unauthenticated attacker can compromise the FHIR Validator HTTP service by registering a domain that mimics a legitimate FHIR server's URL. This allows the attacker to intercept and steal sensitive authentication tokens, such as Bearer tokens, Basic authentication credentials, or API keys, which are configured for the actual FHIR server. The vulnerability stems from a flaw in how the service handles URL prefixes when processing requests to the "/loadIG" endpoint.
- No authentication required for access.
- Triggered by attacker-controlled URL prefix.
- Risk of sensitive token theft.
Live Threat
Current exploitation, exposure, and threat context
The HAPI FHIR Validator HTTP service, when unauthenticated and running prior to version 6.9.4, can expose sensitive authentication tokens. This occurs when the "/loadIG" endpoint is tricked into making outbound requests to attacker-controlled URLs, leveraging a flaw in how server URLs are matched to steal credentials like Bearer tokens, Basic authentication, or API keys.
- Authentication tokens could be stolen.
- Via attacker-controlled URLs and prefix matching.
- Enabling unauthorized server access.
Operational Fix
Recommended remediation, mitigation, and detection steps
Teams responsible for managing healthcare interoperability platforms and Java-based applications are likely owners of this vulnerability. The first practical step is to identify all deployments of HAPI FHIR, confirm their network exposure and business criticality, and then determine the accountable owner for remediation planning.
- Platform and application owners should manage the issue.
- Verify all FHIR validator HTTP service instances.
- Coordinate vendor updates during maintenance windows.