Contao affected by remote command execution through file upload
Package
Affected versions
>= 4.0.0, < 4.13.49
>= 5.0.0, < 5.3.15
>= 5.4.0, < 5.4.3
Patched versions
4.13.49
5.3.15
5.4.3
Description
Published to the GitHub Advisory Database
Sep 17, 2024
Reviewed
Sep 17, 2024
Published by the National Vulnerability Database
Sep 17, 2024
Last updated
Sep 17, 2024
Impact
Back end users with access to the file manager can upload malicious files and execute them on the server.
Patches
Update to Contao 4.13.49, 5.3.15 or 5.4.3.
Workarounds
Configure your web server so it does not execute PHP files and other scripts in the Contao file upload directory.
References
https://contao.org/en/security-advisories/remote-command-execution-through-file-uploads
For more information
If you have any questions or comments about this advisory, open an issue in contao/contao.
Credits
Thanks to Jakob Steeg from usd AG for reporting this vulnerability.
References