# GHSA-f43j-8hq4-2xj9: silverstripe/framework uploaded PHP script execution in assets

- Severity: Medium (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-05-27T23:16:00.000Z
- Modified: 2024-12-02T05:43:00.931Z
- Weaknesses: CWE-20

## Description

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.

(As written by GitHub Advisory Database.)

## Affected

- silverstripe/framework (Packagist): from 4.0.0-rc1 before 4.0.4; from 4.1.0-rc1 before 4.1.1

## References

- <https://github.com/silverstripe/silverstripe-framework/commit/5b7eca2b6327556e2d5ad31bb00511b187e5992a> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2018-012-1.yaml> (web)
- <https://github.com/silverstripe/silverstripe-framework> (package)
- <https://www.silverstripe.org/download/security-releases/ss-2018-012> (web)

## Sources

- GitHub Advisory Database: [GHSA-f43j-8hq4-2xj9](https://github.com/advisories/GHSA-f43j-8hq4-2xj9), CC-BY-4.0, modified 2024-12-02

---

Page: https://cve.day/GHSA-f43j-8hq4-2xj9 · Whole record: https://cve.day/GHSA-f43j-8hq4-2xj9.json · Rebuilt by cve.day 2026-11-25T22:56:31.963Z
