GHSA-vgxh-x8jv-hmff silverstripe/framework code execution vulnerability
HighCVSS 7.5
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- PHP
Description
There is a vulnerability whereby arbitrary global functions may be executed if malicious user input is passed through to in the second argument of ViewableData::renderWith. This argument resolves associative arrays as template placeholders. This exploit requires that user code has been written which makes use of the second argument in renderWith and where user input is passed directly as a value in an associative array without sanitisation such as Convert::raw2xml().
ViewableData::customise is not vulnerable.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| silverstripe/framework(Packagist) | = 4.0.3; = 4.1.0; = 4.1.0-rc1; = 4.1.0-rc2 +2 more | 4.0.4, 4.1.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| silverstripe/framework(Packagist) | >= 4.0.3-rc1, < 4.0.4 | 4.0.4 |
| silverstripe/framework(Packagist) | = 4.0.3 | No fix listed |
| silverstripe/framework(Packagist) | >= 4.1.0-rc1, < 4.1.1 | 4.1.1 |
| silverstripe/framework(Packagist) | = 4.1.0 | No fix listed |
| silverstripe/framework(Packagist) | = 4.1.0-rc1 | No fix listed |
| silverstripe/framework(Packagist) | = 4.1.0-rc2 | No fix listed |
References
- github.com patch
- github.com
- github.com product
- www.silverstripe.org
- github.com