Filament Curator — плагин для выбора медиафайлов для панелей Filament. До версий 3.7.10, 4.1.3 и 5.1.3, модальный медиа-выборщик (CuratorPanel, монтируемый полем формы CuratorPicker) отображал действия каждого элемента Edit, Delete и Download, которые решали свою целевую запись Media с поставляемого клиентом ввода - аргументы действия Livewire, а на линии 3.x выбранное свойство компонента - и действовало. Любой аутентифицированный пользователь, который может достичь формы, которая встраивает поле CuratorPicker, может редактировать, удалять или загружать любую запись Media в приложении по id.
Действие Download дополнительно транслировало файл с диска и путь, взятый непосредственно из полезной нагрузки клиента, а не из сохраненной записи. Эта проблема была исправлена в версиях 3.7.10, 4.1.3 и 5.1.3.
Показать оригинальное описание (EN)
Filament Curator is a media picker plugin for Filament panels. Prior to versions 3.7.10, 4.1.3, and 5.1.3, the media picker modal (CuratorPanel, mounted by the CuratorPicker form field) exposed per-item Edit, Delete, and Download actions that resolved their target Media record from client-supplied input — the Livewire action arguments, and on the 3.x line the selected component property — and then acted on it without a per-record authorization check and without tenant scoping. Any authenticated user who can reach a form that embeds a CuratorPicker field could edit, delete, or download any Media record in the application by id. The Download action additionally streamed a file from a disk and path taken directly from the client payload rather than from the stored record. This issue has been patched in versions 3.7.10, 4.1.3, and 5.1.3.
Характеристики атаки
Последствия
Строка CVSS v3.1