NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

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

mediumCVSS 3.1 6.5

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.

Published May 23, 2024 · Updated May 28, 2024

Affected packages

silverstripe/framework

Ecosystem
Composer (PHP)
Affected
>= 3.2.0, <= 3.2.1
Fixed in
3.2.2
Check
composer show silverstripe/framework

silverstripe/framework

Ecosystem
Composer (PHP)
Affected
>= 3.3.0-beta1, < 3.3.0
Fixed in
3.3.0
Check
composer show silverstripe/framework

silverstripe/framework

Ecosystem
Composer (PHP)
Affected
<= 3.1.16
Fixed in
3.1.17
Check
composer show silverstripe/framework

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries