Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-j3m6-gvm8-mhvw

Опубликовано: 23 янв. 2024
Источник: github
Github: Прошло ревью
CVSS3: 4.3

Описание

No permission checks for editing/deleting records with CSV import form

Impact

Users who don't have edit or delete permissions for records exposed in a ModelAdmin can still edit or delete records using the CSV import form, provided they have create permissions.

The likelyhood of a user having create permissions but not having edit or delete permissions is low, but it is possible.

Note that this doesn't affect any ModelAdmin which has had the import form disabled via the showImportForm public property, nor does it impact the SecurityAdmin section.

Action may be required

If you have a custom implementation of BulkLoader, you should update your implementation to respect permissions when the return value of getCheckPermissions() is true.

If you are using any BulkLoader in your own project logic, or maintain a module which uses it, you should consider passing true to setCheckPermissions() if the data is provided by users.

Base CVSS: 4.3 Reported by: Guy Sartorelli from Silverstripe

References

Пакеты

Наименование

silverstripe/admin

composer
Затронутые версииВерсия исправления

>= 1.0.0, < 1.13.19

1.13.19

Наименование

silverstripe/admin

composer
Затронутые версииВерсия исправления

>= 2.0.0, < 2.1.8

2.1.8

EPSS

Процентиль: 35%
0.00146
Низкий

4.3 Medium

CVSS3

Дефекты

CWE-863

Связанные уязвимости

CVSS3: 4.3
nvd
около 2 лет назад

Silverstripe Admin provides a basic management interface for the Silverstripe Framework. In versions on the 1.x branch prior to 1.13.19 and on the 2.x branch prior to 2.1.8, users who don't have edit or delete permissions for records exposed in a `ModelAdmin` can still edit or delete records using the CSV import form, provided they have create permissions. The likelihood of a user having create permissions but not having edit or delete permissions is low, but it is possible. Note that this doesn't affect any `ModelAdmin` which has had the import form disabled via the `showImportForm` public property. Versions 1.13.19 and 2.1.8 contain a patch for the issue. Those who have a custom implementation of `BulkLoader` should update their implementations to respect permissions when the return value of `getCheckPermissions()` is true. Those who use any `BulkLoader` in their own project logic, or maintain a module which uses it, should consider passing `true` to `setCheckPermissions()` if the da

EPSS

Процентиль: 35%
0.00146
Низкий

4.3 Medium

CVSS3

Дефекты

CWE-863