CVE-2024-45398: Remote command execution through file upload in contao/core-bundle

Published Sep 17, 2024
·
Updated

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.

Other sources

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.

— MITRE

Affected Software

6 affected componentsFixes available
composer/contao/core-bundle>=5.4.0<5.4.3
5.4.3
composer/contao/core-bundle>=5.0.0<5.3.15
5.3.15
composer/contao/core-bundle>=4.0.0<4.13.49
4.13.49
Contao Contao>=4.0.0<4.13.49
Contao Contao>=5.0.0<5.3.15
Contao Contao>=5.4.0<5.4.3

Event History

Sep 17, 2024
Advisory Published
via GitHub·02:58 PM
CVE Published
via MITRE·07:56 PM
Data Sourced
via MITRE·07:56 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2024-45398?

CVE-2024-45398 is considered a critical vulnerability due to its potential for remote command execution.

2

How do I fix CVE-2024-45398?

To fix CVE-2024-45398, update to Contao version 4.13.49, 5.3.15, or 5.4.3.

3

What type of vulnerability is CVE-2024-45398?

CVE-2024-45398 is a remote command execution vulnerability that allows attackers to upload and execute malicious files on the server.

4

Which Contao versions are affected by CVE-2024-45398?

CVE-2024-45398 affects Contao versions prior to 4.13.49, 5.3.15, and 5.4.3.

5

Are there any workarounds for CVE-2024-45398?

A workaround for CVE-2024-45398 is to configure your web server to disable the execution of PHP files and other scripts in the Contao file manager.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203