Security mailing lists by PureSourceCode

GHSA-x5w2-wcr8-9q45

MEDIUM 6.5CVSS 3.1

Silverstripe Missing security check on dev/build/defaults

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.

Published
23 May 2024
Last modified
28 Nov 2024
Weakness
CWE-425
Sources
OSVJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Packagist silverstripe/framework < 3.1.17 3.1.17
OSV Packagist silverstripe/framework >= 3.2.0, < 3.2.2 3.2.2
OSV Packagist silverstripe/framework >= 3.3.0-beta1, < 3.3.0 3.3.0

References

History

  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 23 May 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.