In Eclipse Ditto versions 1.1.0 to 3.9.9, the nginx reverse proxy configurations shipped with Ditto (Helm chart, Docker Compose, Kubernetes and OpenShift deployment files) forward a client-supplied `x-ditto-pre-authenticated` header to the Ditto gateway on locations that do not apply nginx authentication, such as `/api/2/connections`. nginx selects the location based on the normalized request URI but forwards the raw URI, while the gateway does not treat an encoded slash (`%2f`) as a path separator. Таким образом, созданный путь запроса маршрутизируется nginx через такое неаутентифицированное местоположение и шлюзом к обычным Things и Policies HTTP API, включая маршруты, которые отправляют живые сообщения на устройства. При включении предварительной аутентификации (по умолчанию диаграмма Helm и установка Docker Compose) неаутентифицированный удаленный злоумышленник может выдавать себя за произвольных субъектов политики и читать, изменять и удалять Things, читать Policies, отправлять сообщения устройствам и создавать объекты.
Кроме того, опциональный Ingress диаграммы Helm (от Ditto 3.9.0 до 3.9.9) направляет запросы непосредственно к шлюзу без установки или удаления этого заголовка, а WebSocket Ingress диаграммы Helm от Ditto 3.3.0 до 3.8.15 не устанавливает его, позволяя такое же олицетворение без манипулирования путем, когда включена предварительная аутентификация. Это обходит исправление для CVE-2026-120753.
Показать оригинальное описание (EN)
In Eclipse Ditto versions 1.1.0 to 3.9.9, the nginx reverse proxy configurations shipped with Ditto (Helm chart, Docker Compose, Kubernetes and OpenShift deployment files) forward a client-supplied `x-ditto-pre-authenticated` header to the Ditto gateway on locations that do not apply nginx authentication, such as `/api/2/connections`. nginx selects the location based on the normalized request URI but forwards the raw URI, while the gateway does not treat an encoded slash (`%2f`) as a path separator. A crafted request path is therefore routed by nginx through such an unauthenticated location and by the gateway to the regular Things and Policies HTTP API, including routes that send live messages to devices. When pre-authentication is enabled (the default of the Helm chart and the Docker Compose setup), an unauthenticated remote attacker can impersonate arbitrary policy subjects and read, modify and delete Things, read Policies, send messages to devices and create entities. Additionally, the optional Ingress of the Helm chart (Ditto 3.9.0 to 3.9.9) routes requests directly to the gateway without setting or removing that header, and the WebSocket Ingress of the Helm chart of Ditto 3.3.0 to 3.8.15 does not set it, allowing the same impersonation without path manipulation when pre-authentication is enabled. This bypasses the fix for CVE-2026-120753.
Характеристики атаки
Последствия
Строка CVSS v4.0