GHSA-j3m6-gvm8-mhvw

Suggest an improvement
Source
https://github.com/advisories/GHSA-j3m6-gvm8-mhvw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-j3m6-gvm8-mhvw/GHSA-j3m6-gvm8-mhvw.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-j3m6-gvm8-mhvw
Aliases
Published
2024-01-23T20:09:52Z
Modified
2024-01-29T14:31:23.763887Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
Summary
No permission checks for editing/deleting records with CSV import form
Details

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

  • https://www.silverstripe.org/download/security-releases/CVE-2023-49783
Database specific
{
    "nvd_published_at": "2024-01-23T14:15:37Z",
    "cwe_ids": [
        "CWE-863"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2024-01-23T20:09:52Z"
}
References

Affected packages

Packagist / silverstripe/admin

Package

Name
silverstripe/admin
Purl
pkg:composer/silverstripe/admin

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.0.0
Fixed
1.13.19

Affected versions

1.*

1.0.0
1.0.1-rc1
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.0.6
1.0.7
1.1.0-rc1
1.1.0-rc2
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.2.0-beta1
1.2.0
1.2.1
1.2.2
1.2.3
1.2.4
1.2.5
1.2.6
1.3.0-rc1
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.4.0-rc1
1.4.0
1.4.1
1.4.2
1.4.3
1.4.4
1.4.5
1.5.0-alpha1
1.5.0-rc1
1.5.0-rc2
1.5.0
1.5.1
1.5.2
1.6.0-beta1
1.6.0-rc1
1.6.0
1.6.1
1.6.2
1.6.3
1.6.4
1.7.0-beta1
1.7.0-rc1
1.7.0
1.7.1
1.7.2
1.7.3
1.7.4
1.8.0-beta1
1.8.0-rc1
1.8.0
1.8.1
1.9.0-alpha1
1.9.0-beta1
1.9.0-rc1
1.9.0
1.10.0-beta1
1.10.0-rc1
1.10.0
1.10.1
1.10.2
1.10.3
1.10.4
1.11.0-beta1
1.11.0-rc1
1.11.0
1.11.1
1.11.2
1.11.3
1.12.0-beta1
1.12.0-rc1
1.12.0
1.12.1
1.12.2
1.12.3
1.12.4
1.12.5
1.12.6
1.12.7
1.13.0-beta1
1.13.0-rc1
1.13.0
1.13.1
1.13.2
1.13.3
1.13.4
1.13.5
1.13.6
1.13.7
1.13.8
1.13.9
1.13.10
1.13.11
1.13.12
1.13.13
1.13.14
1.13.15
1.13.16
1.13.17
1.13.18

Packagist / silverstripe/admin

Package

Name
silverstripe/admin
Purl
pkg:composer/silverstripe/admin

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.0.0
Fixed
2.1.8

Affected versions

2.*

2.0.0
2.0.1
2.0.2
2.0.3
2.0.4
2.0.5
2.0.6
2.0.7
2.0.8
2.0.9
2.0.10
2.0.11
2.0.12
2.0.13
2.1.0-beta1
2.1.0-rc1
2.1.0
2.1.1
2.1.2
2.1.3
2.1.4
2.1.5
2.1.6
2.1.7