GitHub Advisory Database
GHSA-2r53-9295-3m86
Statamic CMS vulnerable to remote code execution via form uploads
Details
Impact
Similar to another advisory, certain additional PHP files crafted to look like images may be uploaded regardless of mime type validation rules. This affects front-end forms using the "Forms" feature, and asset upload fields in the control panel.
Patches
It has been patched in 3.4.14 and 4.34.0.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | statamic/cms | From 4.0.0 before 4.34.0 (fixed in 4.34.0) |
| Packagist | statamic/cms | All versions before 3.4.14 (fixed in 3.4.14) |
References
- https://github.com/statamic/cms/security/advisories/GHSA-2r53-9295-3m86
- https://nvd.nist.gov/vuln/detail/CVE-2023-48217
- https://github.com/statamic/cms/pull/8991
- https://github.com/statamic/cms/pull/8992
- https://github.com/statamic/cms/commit/4c6fe041e2203a8033e5949ce4a5d9d6c0ad2411
- https://github.com/statamic/cms/commit/da28afde818d605179fbb63b96eabafabad876b6
- https://github.com/statamic/cms
- https://github.com/statamic/cms/releases/tag/v3.4.14
- https://github.com/statamic/cms/releases/tag/v4.34.0