Security mailing lists by PureSourceCode

GHSA-f43j-8hq4-2xj9

MEDIUM

silverstripe/framework uploaded PHP script execution in assets

A weakness in the .htaccess rules preventing requests to uploaded PHP scripts allows PHP scripts that had made their way into the assets directory to be successfully executed through the use of a specially crafted URL. There are protections in place to disallow upload of PHP scripts through the CMS, meaning this weakness does not lead to direct vulnerabilities.

In addition, sites hosted on the New Zealand Common Web Platform or SilverStripe Platform have additional configuration in place which prevents PHP script execution in assets, even in a malicious party manages to upload these into the folder.

Published
27 May 2024
Last modified
2 Dec 2024
Weakness
CWE-20
Sources
OSVJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Packagist silverstripe/framework >= 4.0.0-rc1, < 4.0.4 4.0.4
OSV Packagist silverstripe/framework >= 4.1.0-rc1, < 4.1.1 4.1.1

References

History

  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 27 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.