statamic/cms · Security
Statamic CMS vulnerable to remote code execution via form uploads
- GHSA ID
- GHSA-2r53-9295-3m86
- CVE ID
- CVE-2023-48217
- Severity
- high
- Published
- Updated
- CVSS
- 8.8 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 8.8 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Description
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.
CWEs
- CWE-94 · Improper Control of Generation of Code ('Code Injection')
- CWE-434 · Unrestricted Upload of File with Dangerous Type
References
- https://github.com/statamic/cms/security/advisories/GHSA-2r53-9295-3m86 ↗
- 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/releases/tag/v3.4.14 ↗
- https://github.com/statamic/cms/releases/tag/v4.34.0 ↗
- https://nvd.nist.gov/vuln/detail/CVE-2023-48217 ↗
- https://github.com/advisories/GHSA-2r53-9295-3m86 ↗