Horizon Alert
Summary of the vulnerability and why it matters
A vulnerability in Eclipse Ditto's reverse proxy configuration allows unauthenticated remote attackers to bypass security controls and impersonate authorized users. This could enable unauthorized access to sensitive digital twin data and device communication channels.
- Unauthenticated attackers can bypass security.
- Protects digital twin data and device communications.
- Confirm relevance and assess exposure to Ditto deployments.
Attack Path
How an attacker could exploit the issue
An attacker can exploit this vulnerability by sending a specially crafted request to an unauthenticated endpoint. This request leverages how nginx and the Ditto gateway process request paths, particularly with encoded characters, to bypass authentication checks and reach sensitive APIs. The vulnerability can lead to unauthorized actions on digital twin data and device communications when pre-authentication is enabled.
- No authentication required to access.
- Path manipulation or direct routing triggers vulnerability.
- Unauthorized data access and device control.
Live Threat
Current exploitation, exposure, and threat context
When pre-authentication is enabled, an unauthenticated remote attacker could impersonate arbitrary policy subjects, leading to unauthorized access and manipulation of digital twins, policies, and device communications. This can occur when specially crafted requests bypass the intended authentication mechanisms on specific API endpoints, such as those for connections, or when optional ingress configurations fail to properly manage authentication headers. The consequence is a potential compromise of sensitive data and service control.
- Digital twins and policies.
- Unauthenticated API access bypass.
- Unauthorized data access and modification.
Operational Fix
Recommended remediation, mitigation, and detection steps
This vulnerability in Eclipse Ditto could allow unauthenticated remote attackers to impersonate users, access sensitive data, and send messages to devices. The primary responsibility for addressing this issue likely falls to the platform or infrastructure teams managing Ditto deployments, in coordination with application owners and potentially vendor management if using a managed service. The first practical step is to identify all Ditto instances, determine their exposure (especially if pre-authentication is enabled), and assess business criticality to prioritize remediation efforts.
- Platform/Infrastructure teams own the resolution.
- Verify Ditto instances and pre-authentication status.
- Plan remediation based on exposure and criticality.