NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2024-45398: Contao affected by remote command execution through file upload

highCVSS 4.0 8.7 · 3.1 8.3GHSA-vm6r-j788-hjh5

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.

Published Sep 17, 2024

Affected packages

contao/core-bundle

Ecosystem
Composer (PHP)
Affected
>= 4.0.0, < 4.13.49
Fixed in
4.13.49
Check
composer show contao/core-bundle

contao/core-bundle

Ecosystem
Composer (PHP)
Affected
>= 5.0.0, < 5.3.15
Fixed in
5.3.15
Check
composer show contao/core-bundle

contao/core-bundle

Ecosystem
Composer (PHP)
Affected
>= 5.4.0, < 5.4.3
Fixed in
5.4.3
Check
composer show contao/core-bundle

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to usdResponsibleDisclosure.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries