Skip to content

GHSA-x5w2-wcr8-9q45 Silverstripe Missing security check on dev/build/defaults

MediumCVSS 6.5
Published
Updated
Exploit status
No public exploit known
Technology
PHP

Description

The buildDefaults method on DevelopmentAdmin is missing a permission check.

In live mode, if you access /dev/build, you are requested to login first. However, if you access /dev/build/defaults, then the action is performed without any login check. This should be protected in the same way that /dev/build is.
The buildDefaults view is requireDefaultRecords() on each DataObject class, and hence has the potential to modify database state. It also lists all modified tables, allowing attackers more insight into which modules are used, and how the database tables are structured.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
silverstripe/framework(Packagist) < 3.1.17; <= 3.1.16; = 2.4.9; = 2.4.10 +79 more 3.1.17, 3.2.2, 3.3.0 Fixed

Affected products

ProductAffected versionsFixed in
silverstripe/framework(Packagist) < 3.1.17 3.1.17
silverstripe/framework(Packagist) = 2.4.10 No fix listed
silverstripe/framework(Packagist) = 2.4.11 No fix listed
silverstripe/framework(Packagist) = 2.4.12 No fix listed
silverstripe/framework(Packagist) = 2.4.13 No fix listed
silverstripe/framework(Packagist) = 2.4.9 No fix listed
silverstripe/framework(Packagist) = 2.5.0 No fix listed
silverstripe/framework(Packagist) = 3.0.10 No fix listed
silverstripe/framework(Packagist) = 3.0.10-rc1 No fix listed
silverstripe/framework(Packagist) = 3.0.11 No fix listed
silverstripe/framework(Packagist) = 3.0.11-rc1 No fix listed
silverstripe/framework(Packagist) = 3.0.12 No fix listed
silverstripe/framework(Packagist) = 3.0.13 No fix listed
silverstripe/framework(Packagist) = 3.0.14 No fix listed
silverstripe/framework(Packagist) = 3.0.2.1 No fix listed
silverstripe/framework(Packagist) = 3.0.3 No fix listed
silverstripe/framework(Packagist) = 3.0.3-rc1 No fix listed
silverstripe/framework(Packagist) = 3.0.3-rc2 No fix listed
silverstripe/framework(Packagist) = 3.0.4 No fix listed
silverstripe/framework(Packagist) = 3.0.5 No fix listed
silverstripe/framework(Packagist) = 3.0.6 No fix listed
silverstripe/framework(Packagist) = 3.0.6-rc1 No fix listed
silverstripe/framework(Packagist) = 3.0.6-rc2 No fix listed
silverstripe/framework(Packagist) = 3.0.7 No fix listed
silverstripe/framework(Packagist) = 3.0.7-rc1 No fix listed
Show 58 more
ProductAffected versionsFixed in
silverstripe/framework(Packagist) = 3.0.8 No fix listed
silverstripe/framework(Packagist) = 3.0.9 No fix listed
silverstripe/framework(Packagist) = 3.0.9-rc1 No fix listed
silverstripe/framework(Packagist) = 3.1.0 No fix listed
silverstripe/framework(Packagist) = 3.1.0-beta1 No fix listed
silverstripe/framework(Packagist) = 3.1.0-beta2 No fix listed
silverstripe/framework(Packagist) = 3.1.0-beta3 No fix listed
silverstripe/framework(Packagist) = 3.1.0-rc1 No fix listed
silverstripe/framework(Packagist) = 3.1.0-rc2 No fix listed
silverstripe/framework(Packagist) = 3.1.0-rc3 No fix listed
silverstripe/framework(Packagist) = 3.1.1 No fix listed
silverstripe/framework(Packagist) = 3.1.10 No fix listed
silverstripe/framework(Packagist) = 3.1.10-rc1 No fix listed
silverstripe/framework(Packagist) = 3.1.10-rc2 No fix listed
silverstripe/framework(Packagist) = 3.1.11 No fix listed
silverstripe/framework(Packagist) = 3.1.11-rc1 No fix listed
silverstripe/framework(Packagist) = 3.1.12 No fix listed
silverstripe/framework(Packagist) = 3.1.13 No fix listed
silverstripe/framework(Packagist) = 3.1.13-rc1 No fix listed
silverstripe/framework(Packagist) = 3.1.14 No fix listed
silverstripe/framework(Packagist) = 3.1.14-rc1 No fix listed
silverstripe/framework(Packagist) = 3.1.15 No fix listed
silverstripe/framework(Packagist) = 3.1.16 No fix listed
silverstripe/framework(Packagist) = 3.1.16-rc1 No fix listed
silverstripe/framework(Packagist) = 3.1.17-rc1 No fix listed
silverstripe/framework(Packagist) = 3.1.17-rc2 No fix listed
silverstripe/framework(Packagist) = 3.1.2 No fix listed
silverstripe/framework(Packagist) = 3.1.2-rc1 No fix listed
silverstripe/framework(Packagist) = 3.1.3 No fix listed
silverstripe/framework(Packagist) = 3.1.3-rc1 No fix listed
silverstripe/framework(Packagist) = 3.1.3-rc2 No fix listed
silverstripe/framework(Packagist) = 3.1.4 No fix listed
silverstripe/framework(Packagist) = 3.1.4-rc1 No fix listed
silverstripe/framework(Packagist) = 3.1.5 No fix listed
silverstripe/framework(Packagist) = 3.1.5-rc1 No fix listed
silverstripe/framework(Packagist) = 3.1.6 No fix listed
silverstripe/framework(Packagist) = 3.1.6-rc1 No fix listed
silverstripe/framework(Packagist) = 3.1.6-rc2 No fix listed
silverstripe/framework(Packagist) = 3.1.6-rc3 No fix listed
silverstripe/framework(Packagist) = 3.1.7 No fix listed
silverstripe/framework(Packagist) = 3.1.7-rc1 No fix listed
silverstripe/framework(Packagist) = 3.1.8 No fix listed
silverstripe/framework(Packagist) = 3.1.9 No fix listed
silverstripe/framework(Packagist) = 3.1.9-rc1 No fix listed
silverstripe/framework(Packagist) >= 3.2.0, < 3.2.2 3.2.2
silverstripe/framework(Packagist) = 3.2.0 No fix listed
silverstripe/framework(Packagist) = 3.2.1 No fix listed
silverstripe/framework(Packagist) = 3.2.1-rc1 No fix listed
silverstripe/framework(Packagist) = 3.2.1-rc2 No fix listed
silverstripe/framework(Packagist) = 3.2.2-rc1 No fix listed
silverstripe/framework(Packagist) = 3.2.2-rc2 No fix listed
silverstripe/framework(Packagist) >= 3.3.0-beta1, < 3.3.0 3.3.0
silverstripe/framework(Packagist) = 3.3.0-beta1 No fix listed
silverstripe/framework(Packagist) = 3.3.0-rc1 No fix listed
silverstripe/framework(Packagist) = 3.3.0-rc2 No fix listed
silverstripe/framework(Packagist) = 3.3.0-rc3 No fix listed
silverstripe/framework(Packagist) >= 3.2.0, <= 3.2.1 No fix listed
silverstripe/framework(Packagist) <= 3.1.16 No fix listed

References