Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. silverstripe/cms
  4. ›
  5. SS-2015-028

SS-2015-028: Missing security check on dev/build/defaults

February 24, 2016

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

  • www.silverstripe.org/download/security-releases/ss-2015-028/

Code Behaviors & Features

Detect and mitigate SS-2015-028 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.1.0-alpha before 3.1.17, all versions starting from 3.2.0-alpha before 3.2.2, all versions starting from 3.3.0-alpha before 3.3.0

Fixed versions

  • 3.1.17
  • 3.2.2
  • 3.3.0

Solution

Upgrade to versions 3.1.17, 3.2.2, 3.3.0 or above.

Source file

packagist/silverstripe/cms/SS-2015-028.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:55 +0000.