Lucene search

K
githubGitHub Advisory DatabaseGHSA-F43J-8HQ4-2XJ9
HistoryMay 27, 2024 - 11:16 p.m.

silverstripe/framework uploaded PHP script execution in assets

2024-05-2723:16:00
CWE-20
GitHub Advisory Database
github.com
6
.htaccess rules
uploaded php scripts
assets directory
cms protections
new zealand common web platform
silverstripe platform
configuration.

AI Score

7.2

Confidence

High

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.

Affected configurations

Vulners
Node
silverstripeframeworkRange4.1.0-rc14.1.1
OR
silverstripeframeworkRange4.0.0-rc14.0.4
VendorProductVersionCPE
silverstripeframework*cpe:2.3:a:silverstripe:framework:*:*:*:*:*:*:*:*

AI Score

7.2

Confidence

High