{"id":"CVE-2024-45398","aliases":["CVE-2024-45398","GHSA-vm6r-j788-hjh5"],"related":[],"kind":"vulnerability","state":"published","title":"Remote command execution through file upload in contao/core-bundle","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nBack end users with access to the file manager can upload malicious files and execute them on the server.\n\n### Patches\n\nUpdate to Contao 4.13.49, 5.3.15 or 5.4.3.\n\n### Workarounds\n\nConfigure your web server so it does not execute PHP files and other scripts in the Contao file upload directory.\n\n### References\n\nhttps://contao.org/en/security-advisories/remote-command-execution-through-file-uploads\n\n### For more information\n\nIf you have any questions or comments about this advisory, open an issue in [contao/contao](https://github.com/contao/contao/issues/new/choose).\n\n### Credits\n\nThanks to Jakob Steeg from usd AG for reporting this vulnerability.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Contao es un CMS de código abierto. En las versiones afectadas, un usuario de back-end con acceso al administrador de archivos puede cargar archivos maliciosos y ejecutarlos en el servidor. Se recomienda a los usuarios que actualicen a Contao 4.13.49, 5.3.15 o 5.4.3. A los usuarios que no puedan actualizar se les recomienda que configuren su servidor web para que no ejecute archivos PHP y otros scripts en el directorio de carga de archivos de Contao.","source":"nvd"}],"published":"2024-09-17T14:58:35.000Z","modified":"2026-06-17T07:54:08.260Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","score":8.3,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","score":8.3,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","score":8.3,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-434"],"affected":[{"ranges":[{"version":">=4.0.0, < 4.13.49","status":"affected"},{"version":">= 5.0.0, < 5.3.15","status":"affected"},{"version":">= 5.4.0, < 5.4.3","status":"affected"}],"vendor":"contao","product":"contao","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"4.0.0","lastAffected":"4.13.49","status":"affected"},{"type":"custom","introduced":"5.0.0","lastAffected":"5.3.15","status":"affected"},{"type":"custom","introduced":"5.4.0","lastAffected":"5.4.3","status":"affected"}],"vendor":"contao","product":"contao","cpe":"cpe:2.3:a:contao:contao:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0","status":"affected","fixed":"4.13.49"}],"ecosystem":"Packagist","package":"contao/core-bundle","purl":"pkg:composer/contao/core-bundle","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.3.15"}],"ecosystem":"Packagist","package":"contao/core-bundle","purl":"pkg:composer/contao/core-bundle","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.4.0","status":"affected","fixed":"5.4.3"}],"ecosystem":"Packagist","package":"contao/core-bundle","purl":"pkg:composer/contao/core-bundle","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"4.0.0","fixed":"4.13.49"},{"status":"affected","introduced":"5.0.0","fixed":"5.3.15"},{"status":"affected","introduced":"5.4.0","fixed":"5.4.3"}],"vendor":"contao","product":"contao","cpe":"cpe:2.3:a:contao:contao:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/contao/contao/security/advisories/GHSA-vm6r-j788-hjh5","tags":["third-party-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://contao.org/en/security-advisories/remote-command-execution-through-file-uploads","tags":["vendor-advisory","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45398","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/contao/contao/commit/9445d509f12a7f1b68a4794dcc5e3e459b363ebb","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/contao/contao/commit/a7e39f96ac8fdc281f7caaa96e01deb0e24ac7d3","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/contao/contao/commit/f3db59ffe5a6c0e1f705b3230ebd5ff16865280e","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/contao/contao","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-09-18T13:14:03.501Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-45398","url":"https://www.cve.org/CVERecord?id=CVE-2024-45398","licence":"CVE Terms of Use","modified":"2024-09-18T13:17:36.013Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vm6r-j788-hjh5","url":"https://github.com/advisories/GHSA-vm6r-j788-hjh5","licence":"CC-BY-4.0","modified":"2024-09-17T22:34:10.501Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-45398","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45398","licence":"Public domain","modified":"2026-06-17T07:54:08.260Z"}],"updatedAt":"2026-11-25T22:58:45.516Z","epss":{"score":0.00532,"percentile":0.46386,"date":"2026-12-01T12:00:22.000Z"}}