{"id":"CVE-2024-45398","published":"2024-09-17T19:56:00Z","modified":"2024-09-18T13:17:36Z","title":"Remote command execution through file upload in contao/core-bundle","vendor":"contao","product":"contao","tier":"tail","description":{"text":"Contao is an Open Source CMS. In affected versions a back end user with access to the file manager can upload malicious files and execute them on the server. Users are advised to update to Contao 4.13.49, 5.3.15 or 5.4.3. Users unable to update are advised to configure their web server so it does not execute PHP files and other scripts in the Contao file upload directory.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00532,"percentile":0.45853,"provenance":"source"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"https://github.com/contao/contao/security/advisories/GHSA-vm6r-j788-hjh5","tags":["x_refsource_CONFIRM"]},{"url":"https://contao.org/en/security-advisories/remote-command-execution-through-file-uploads","tags":["x_refsource_MISC"]}],"priority":{"score":15.0,"factors":[{"name":"EPSS percentile","points":9.17},{"name":"CVSS severity","points":5.81}]},"vendorSlug":"contao","affectedVersions":[{"vendor":"contao","product":"contao","versions":[">=4.0.0, < 4.13.49",">= 5.0.0, < 5.3.15",">= 5.4.0, < 5.4.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-09-18T13:14:03.501932Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"contao/core-bundle","vulnerableRanges":[">=4.0.0, <4.13.49",">=5.0.0, <5.3.15",">=5.4.0, <5.4.3"],"patched":["4.13.49","5.3.15","5.4.3"],"from":["GHSA-vm6r-j788-hjh5"],"provenance":"source"}],"summary":{"text":"The flaw is an unrestricted file upload weakness in the core bundle of the Contao content management system (contao/core-bundle, product \"contao\"), which allows uploaded files to be stored in a form the server will execute. An attacker who holds a back end user account with access to the file manager can upload a malicious file and run it on the server, with network access and low-privilege authentication as the prerequisites and no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:30:32Z"},"euvd":{"id":"EUVD-2024-2877","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-contao-cve-2023-36806","parents":[{"from":"CVE-2024-28190","to":"CVE-2024-45398","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["core-bundle/contao/drivers/DC_Folder.php","core-bundle/src/Resources/contao/drivers/DC_Folder.php"],"commits":["https://github.com/contao/contao/commit/878d28dbe0f408740555d6fc8b634bd3f8febfce","https://github.com/contao/contao/commit/b794e14fff070101bf6a885da9b1a83395093b4d","https://github.com/contao/contao/commit/9445d509f12a7f1b68a4794dcc5e3e459b363ebb","https://github.com/contao/contao/commit/a7e39f96ac8fdc281f7caaa96e01deb0e24ac7d3"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2024-28190","published":"2024-04-09","fixed":"5.3.4","kev":false},{"cve":"CVE-2024-28191","published":"2024-04-09","fixed":"5.3.4","kev":false},{"cve":"CVE-2024-28235","published":"2024-04-09","fixed":"5.3.4","kev":false,"link":{"from":"CVE-2024-28235","to":"CVE-2024-45398","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:contao/core-bundle","fromFixed":"5.3.4","toFixed":"5.3.15","daysApart":161}]}},{"cve":"CVE-2024-45398","published":"2024-09-17","fixed":"5.4.3","kev":false},{"cve":"CVE-2024-45612","published":"2024-09-17","fixed":"5.4.3","kev":false},{"cve":"CVE-2025-29790","published":"2025-03-18","fixed":"5.5.6","kev":false},{"cve":"CVE-2025-57756","published":"2025-08-28","fixed":"5.6.1","kev":false}],"package":"Packagist:contao/core-bundle"}}