Horizon Alert
Summary of the vulnerability and why it matters
This advisory concerns a vulnerability in a component that handles network traffic, specifically impacting how it manages WebSocket connections. The issue arises from an incomplete validation of destination paths, which could allow specially crafted requests to bypass intended routing and potentially expose unintended upstream endpoints. While exploitation requires specific client configurations, the nature of proxy components means this could be a concern in certain production environments.
- Proxy misconfiguration can expose unexpected services.
- Affects a component that routes external traffic.
- Confirm relevance to your proxy deployments.
Attack Path
How an attacker could exploit the issue
An attacker can exploit this by sending specially crafted WebSocket upgrade requests through a non-normalizing client or a downstream proxy. These requests can bypass the configured rewrite prefix due to how the proxy resolves WebSocket destinations, potentially exposing unintended upstream endpoints.
- Requires un-normalized WebSocket client.
- Bypasses rewrite prefix via path traversal.
- Exposes unintended upstream endpoints.
Live Threat
Current exploitation, exposure, and threat context
When supported by the advisory, this vulnerability could allow an attacker to bypass configured rewrite prefixes and access unintended upstream WebSocket endpoints. This occurs because the WebSocket destination path is not properly validated, allowing path traversal sequences to escape the intended proxy configuration. The attack is feasible when a non-normalizing WebSocket client is used, or when raw HTTP clients forward the request target unchanged.
- Unintended upstream WebSocket endpoints.
- Path traversal in crafted upgrade requests.
- Unauthorized access to backend services.
Operational Fix
Recommended remediation, mitigation, and detection steps
The @fastify/http-proxy component is likely managed by platform or application teams, with potential involvement from network and security teams for exposure analysis. The first step is to identify all instances of the affected proxy versions, determine their network reachability and criticality, and then assign ownership for remediation planning.
- Platform or application teams own the issue.
- Verify proxy reachability and criticality first.
- Plan remediation based on identified risk.