Vulnerability · Published Jan 23, 2024 · Assigned by GitHub_M

CVE-2023-49783No permission checks for editing/deleting records with CSV import form

Medium 4.3

In plain English

A medium-severity incorrect authorization in silverstripe-admin from silverstripe. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.3Medium
Exploit odds (30 days)0.3%top 72.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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 data is provided by users.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistsilverstripe/admin1.13.19GHSA-j3m6-gvm8-mhvw
Packagistsilverstripe/admin2.1.8GHSA-j3m6-gvm8-mhvw

Affected products (as reported)

VendorProductVersions
silverstripe silverstripe-admin >= 1.0.0, < 1.13.19>= 2.0.0, < 2.1.8

Weakness: CWE-863 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

References