{"id":"CVE-2023-47129","published":"2023-11-10T18:48:03Z","modified":"2024-09-03T17:24:55Z","title":"Statamic CMS remote code execution via front-end form uploads","vendor":"statamic","product":"cms","tier":"tail","description":{"text":"Statmic is a core Laravel content management system Composer package. Prior to versions 3.4.13 and 4.33.0, on front-end forms with an asset upload field, PHP files crafted to look like images may be uploaded. This only affects forms using the \"Forms\" feature and not just _any_ arbitrary form. This does not affect the control panel. This issue has been patched in 3.4.13 and 4.33.0.\n","provenance":"source","from":"CVE.org"},"cvss":{"score":8.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01364,"percentile":0.72486,"provenance":"source"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"https://github.com/statamic/cms/security/advisories/GHSA-72hg-5wr5-rmfc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/statamic/cms/commit/098ef8024d97286ca501273c18ae75b646262d75","tags":["x_refsource_MISC"]},{"url":"https://github.com/statamic/cms/commit/f6c688154f6bdbd0b67039f8f11dcd98ba061e77","tags":["x_refsource_MISC"]}],"priority":{"score":25.4,"factors":[{"name":"EPSS percentile","points":14.5},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.88}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2023-11-13","earliestUrl":"https://github.com/Cyber-Wo0dy/CVE-2023-47129","repos":[{"name":"Cyber-Wo0dy/CVE-2023-47129","url":"https://github.com/Cyber-Wo0dy/CVE-2023-47129","stars":3,"created":"2023-11-13"}]},"first":{"date":"2023-11-13","source":"PoC-in-GitHub","url":"https://github.com/Cyber-Wo0dy/CVE-2023-47129"},"provenance":"source"},"vendorSlug":"statamic","affectedVersions":[{"vendor":"statamic","product":"cms","versions":["< 3.4.13",">= 4.0.0, < 4.33.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-09-03T17:21:20.779648Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"statamic/cms","vulnerableRanges":[">=4.0.0, <4.33.0","<3.4.13"],"patched":["4.33.0","3.4.13"],"from":["GHSA-72hg-5wr5-rmfc"],"provenance":"source"}],"summary":{"text":"The Statamic CMS (the core Laravel content management Composer package) contains an unrestricted file upload flaw in its front-end form handling, where asset upload fields accept PHP files disguised as images. An attacker who can reach a front-end form that uses the Forms feature and has an asset upload field can upload such a file, which requires user interaction and only affects forms built with that feature rather than the control panel.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:16:45Z"},"euvd":{"id":"EUVD-2023-2902","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-statamic-cms-cve-2023-47129","children":[{"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-2017-11422","published":"2017-07-24","fixed":"2.6.0","kev":false},{"cve":"CVE-2022-24784","published":"2022-03-25","fixed":"3.3.2","kev":false,"link":{"from":"CVE-2022-24784","to":"CVE-2023-47129","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:statamic/cms","fromFixed":"3.3.2","toFixed":"3.4.13","daysApart":595}]}},{"cve":"CVE-2023-36828","published":"2023-07-05","fixed":"4.10.0","kev":false,"link":{"from":"CVE-2023-36828","to":"CVE-2023-47129","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:statamic/cms","fromFixed":"4.10.0","toFixed":"4.33.0","daysApart":128}]}},{"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},{"cve":"CVE-2024-24570","published":"2024-02-01","fixed":"4.46.0","kev":false}],"package":"Packagist:statamic/cms"}}