Lucene search

K
githubGitHub Advisory DatabaseGHSA-J3M6-GVM8-MHVW
HistoryJan 23, 2024 - 8:09 p.m.

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

2024-01-2320:09:52
CWE-863
GitHub Advisory Database
github.com
7
csv import
modeladmin
bulkloader
custom implementation
securityadmin
permissions
vulnerability
silverstripe
cve-2023-49783

CVSS3

4.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

AI Score

4.5

Confidence

High

EPSS

0

Percentile

13.3%

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.3Reported by: Guy Sartorelli from Silverstripe

References

Affected configurations

Vulners
Node
silverstripeadminRange2.0.02.1.8
OR
silverstripeadminRange1.0.01.13.19
VendorProductVersionCPE
silverstripeadmin*cpe:2.3:a:silverstripe:admin:*:*:*:*:*:*:*:*

CVSS3

4.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

AI Score

4.5

Confidence

High

EPSS

0

Percentile

13.3%