{"id":"CVE-2023-48217","published":"2023-11-14T21:38:37Z","modified":"2024-08-30T14:03:24Z","title":"Remote code execution via form uploads in statamic/cms","vendor":"statamic","product":"cms","tier":"tail","description":{"text":"Statamic is a flat-first, Laravel + Git powered CMS designed for building websites. In affected versions 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. Malicious users could leverage this vulnerability to upload and execute code. This issue has been patched in versions 3.4.14 and 4.34.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01271,"percentile":0.70546,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/statamic/cms/security/advisories/GHSA-2r53-9295-3m86","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/statamic/cms/commit/4c6fe041e2203a8033e5949ce4a5d9d6c0ad2411","tags":["x_refsource_MISC"]}],"priority":{"score":20.3,"factors":[{"name":"EPSS percentile","points":14.11},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"statamic","affectedVersions":[{"vendor":"statamic","product":"cms","versions":[">= 4.0.0, < 4.34.0","< 3.4.14"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-08-30T14:01:51.639729Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"statamic/cms","vulnerableRanges":[">=4.0.0, <4.34.0","<3.4.14"],"patched":["4.34.0","3.4.14"],"from":["GHSA-2r53-9295-3m86"],"provenance":"source"}],"summary":{"text":"Statamic CMS (vendor statamic, product cms) contains a flaw in its form upload handling: PHP files disguised as images can be uploaded despite mime type validation, affecting front-end \"Forms\" submissions and control panel asset upload fields. An attacker with low-privilege access who can reach these upload paths can upload a crafted PHP file and get it executed as code, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:16:00Z"},"euvd":{"id":"EUVD-2023-2850","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-statamic-cms-cve-2023-47129","parents":[{"from":"CVE-2023-47129","to":"CVE-2023-48217","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:statamic/cms","fromFixed":"3.4.13","toFixed":"3.4.14","daysApart":4},{"kind":"version-step","provenance":"source","package":"Packagist:statamic/cms","fromFixed":"4.33.0","toFixed":"4.34.0","daysApart":4},{"kind":"same-code","provenance":"machine","files":["src/Http/Controllers/FormController.php"],"commits":["https://github.com/statamic/cms/commit/098ef8024d97286ca501273c18ae75b646262d75","https://github.com/statamic/cms/commit/f6c688154f6bdbd0b67039f8f11dcd98ba061e77","https://github.com/statamic/cms/commit/4c6fe041e2203a8033e5949ce4a5d9d6c0ad2411","https://github.com/statamic/cms/commit/da28afde818d605179fbb63b96eabafabad876b6"],"basis":"shared function","functions":["extraRules"]},{"kind":"similar","provenance":"machine","score":0.46,"basis":"same product + description similarity"}]}],"packageHistory":[{"cve":"CVE-2022-24784","published":"2022-03-25","fixed":"3.3.2","kev":false},{"cve":"CVE-2023-36828","published":"2023-07-05","fixed":"4.10.0","kev":false},{"cve":"CVE-2023-47129","published":"2023-11-10","fixed":"4.33.0","kev":false},{"cve":"CVE-2023-48217","published":"2023-11-14","fixed":"4.34.0","kev":false},{"cve":"CVE-2023-48701","published":"2023-11-21","fixed":"4.36.0","kev":false,"link":{"from":"CVE-2023-48217","to":"CVE-2023-48701","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:statamic/cms","fromFixed":"3.4.14","toFixed":"3.4.15","daysApart":7},{"kind":"version-step","provenance":"source","package":"Packagist:statamic/cms","fromFixed":"4.34.0","toFixed":"4.36.0","daysApart":7},{"kind":"similar","provenance":"machine","score":0.56,"basis":"same product + description similarity"}]}},{"cve":"CVE-2024-24570","published":"2024-02-01","fixed":"4.46.0","kev":false},{"cve":"CVE-2024-36119","published":"2024-05-30","fixed":"5.6.2","kev":false}],"package":"Packagist:statamic/cms"}}