Затронутые версии MISP позволяют создавать коллекционный элемент из голого UUID без последовательной проверки, разрешен ли действующему пользователю доступ к ссылочному объекту. Коммит объясняет, что элементы коллекции сами по себе хранят только UUIDs, в то время как представление коллекции позже преобразует эти UUIDs в их базовые объекты. Таким образом, до этого исправления общий путь add() мог сохранять UUID для Event или Galaxy Cluster, которые абонент обычно не мог прочитать.
Патч явно отмечает, что это сделало коллекции способом ссылки на личные данные другой организации и вызвало раскрытие событий только для организации в представлении бета-коллекции. Исправление централизует авторизацию в __assertCanUseElements(). Событие UUIDs проверяется через Event::fetchSimpleEvent() под текущим пользователем ACL, в то время как Galaxy Cluster UUIDs проверяется через GalaxyCluster::fetchGalaxyClusters().
Проверка применяется как к пути CRUD add(), так и к addElementToCollection(). Версия: 2.5.45
Показать оригинальное описание (EN)
Affected versions of MISP allow a collection element to be created from a bare UUID without consistently checking whether the acting user is allowed to access the referenced object. The commit explains that collection elements themselves only store UUIDs, while the collection view later resolves those UUIDs into their underlying objects. Before this fix, the generic add() path could therefore persist a UUID for an Event or Galaxy Cluster that the caller could not normally read. The patch explicitly notes that this made collections a way to reference another organisation’s private data and had caused disclosure of organisation-only events in the beta collection view. The fix centralizes authorization in __assertCanUseElements(). Event UUIDs are validated through Event::fetchSimpleEvent() under the current user’s ACL, while Galaxy Cluster UUIDs are checked through GalaxyCluster::fetchGalaxyClusters(). The check is applied both to the CRUD add() path and to addElementToCollection(). Version affected: ≤2.5.45
Характеристики атаки
Последствия
Строка CVSS v4.0