Security advisoryCVE-2023-48217
Statamic CMS vulnerable to remote code execution via form uploads
As published by the sources
Affected packages
- Affected
>=4.0.0,<4.34.0 || <3.4.14Fixed in3.4.144.34.0
Derived from the fixed versions above
What to do
Upgrade statamic/cms to the fixed version in your release line: 3.4.14, 4.34.0.
composer update statamic/cms --with-dependencies
To see which version you have installed, run composer show vendor/package. Running composer audit lists the known advisories that match your installed versions.
Quoted from the original advisory
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.
References
- Advisoryhttps://github.com/advisories/GHSA-2r53-9295-3m86
- Webhttps://github.com/statamic/cms/security/advisories/GHSA-2r53-9295-3m86
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2023-48217
- Webhttps://github.com/statamic/cms/pull/8991
- Webhttps://github.com/statamic/cms/pull/8992
- Webhttps://github.com/statamic/cms/commit/4c6fe041e2203a8033e5949ce4a5d9d6c0ad2411
- Webhttps://github.com/statamic/cms/commit/da28afde818d605179fbb63b96eabafabad876b6
- Packagehttps://github.com/statamic/cms
- Webhttps://github.com/statamic/cms/releases/tag/v3.4.14
- Webhttps://github.com/statamic/cms/releases/tag/v4.34.0