Skip to main content

Unrestricted Upload of File with Dangerous Type

CVE-2024-45398

Severity High
Score 8.8/10

Summary

Contao is an open-source CMS. In affected versions 4.0.0-beta1 through 4.13.48, 5.0.0-RC1 through 5.3.14, and 5.4.0-RC1 through 5.4.2, a back end user with access to the file manager can upload malicious files and execute them on the server. 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.

  • LOW
  • NETWORK
  • HIGH
  • UNCHANGED
  • NONE
  • LOW
  • HIGH
  • HIGH

CWE-434 - Unrestricted Upload of File with dangerous type

'Unrestricted file upload with dangerous type' attacks involve an attacker uploading or transferring files of dangerous types to the server. The severity of such an attack depends upon the execution mechanism and the storage location of the uploaded file. Thus, it may range from simple defacement to arbitrary file execution, and complete system takeover.

Advisory Timeline

  • Published