In Eclipse BaSyx Go Components versions up to and including 1.1.3, ABAC-enabled deployments match `ROUTE` access rules against the fully decoded request path, while the router routes on the raw, still encoded path. Закодированная косая черта (%2F) внутри значения пути является разделителем сегмента для проверки доступа, но частью значения для маршрутизатора, поэтому запрос может соответствовать узкому правилу ROUTE, в то время как обработчик возвращает другой, больший ресурс. Аутентифицированный абонент, чьи правила предоставляют READ только на части ресурса, может прочитать весь ресурс.
В DPP API правило, такое как /v1/dpps/*/elements/*, предназначенное для предоставления только элементов паспорта, также предоставляет полный паспорт, идентификатор которого содержит / элементы / . В Submodel Repository, AAS Repository и AAS Environment такое правило, как /submodels/*/submodel-elements/*/attachment, предназначенное для предоставления только файловых вложений, также предоставляет полный элемент, чей сохраненный idShort содержит %2F. Проблема исправлена в Eclipse BaSyx Go Components v1.1.4.
Показать оригинальное описание (EN)
In Eclipse BaSyx Go Components versions up to and including 1.1.3, ABAC-enabled deployments match `ROUTE` access rules against the fully decoded request path, while the router routes on the raw, still encoded path. An encoded slash (`%2F`) inside a path value is a segment separator for the access check but part of the value for the router, so a request can match a narrow `ROUTE` rule while the handler returns a different, larger resource. An authenticated caller whose rules grant READ only on parts of a resource can therefore read the whole resource. In the DPP API, a rule such as `/v1/dpps/*/elements/*`, meant to grant only passport elements, also grants the complete passport whose identifier contains `/elements/`. In the Submodel Repository, AAS Repository and AAS Environment, a rule such as `/submodels/*/submodel-elements/*/attachment`, meant to grant only file attachments, also grants the complete element whose stored idShort contains `%2F`. The issue is fixed in Eclipse BaSyx Go Components v1.1.4.
Характеристики атаки
Последствия
Строка CVSS v4.0