Обход авторизации в Submodel Repository в Eclipse BaSyx Go Components
Eclipse BaSyx Go Components
Кратко
Eclipse BaSyx Go Components, до версии 1.1.2 включительно, не применяет фильтры полей правил доступа при чтении отдельных подмоделей и на маршрутах истории версий. Удалённый злоумышленник с учётной записью с низкими привилегиями может прочитать поля, скрытые от него правилами доступа, например ключи supplementalSemanticIds, указывающие других участников, которым разрешено чтение подмодели.
Резюме сгенерировано ИИ по данным источников и переведено автоматически.
Исправление
Исправлено в версиях: 1.1.3
Затронутые версии
| Eclipse BaSyx Go Components | → исправлено в 1.1.3 |
Оригинальное описание (EN)
Оригинальный заголовок: Eclipse BaSyx Go Components authorization bypass in Submodel Repository
In Eclipse BaSyx Go Components versions up to and including 1.1.2, ABAC-enabled deployments of the Submodel Repository and the AAS Environment do not apply an access rule's `FILTERLIST` fragment filters to single Submodel reads. `GET /submodels` removes the fields that a rule's `FILTERLIST` hides, but `GET /submodels/{submodelIdentifier}` and `GET /submodels/{submodelIdentifier}/$metadata` return them unfiltered. An authenticated caller with READ access to a Submodel can therefore read fields that the access rules hide from them, for example `supplementalSemanticIds` keys that name the other parties allowed to read the Submodel. If versioning is enabled (`history.mode` set to `api` or `audit`), `GET /submodels/{submodelIdentifier}/$history` and `GET /shells/{aasIdentifier}/$history` in the Submodel Repository, AAS Repository and AAS Environment return the complete stored version without applying the rule's formula or fragment filters. A caller whose rules grant READ on these routes can read fields that the access rules hide, and Submodels and Asset Administration Shells that the direct read does not return to them at all. The issue is fixed in Eclipse BaSyx Go Components v1.1.3.
Ссылки
- Вендорgitlab.eclipse.org/security/vulnerability-reports/-/work_items/1371#note_8664220
- Прочееgithub.com/eclipse-basyx/basyx-go-components/pull/855
- Прочееgithub.com/eclipse-basyx/basyx-go-components/pull/883
- Прочееgithub.com/eclipse-basyx/basyx-go-components/releases/tag/v1.1.3
- Вендорgitlab.eclipse.org/security/cve-assignment/-/work_items/577