by Leo Feyer

Unrestricted file uploads

Date: 2019-12-17
CVE ID: CVE-2019-19745

Description

A back end user with access to the form generator can upload arbitrary files and execute them on the server.

Affected versions

Contao 4.0
Contao 4.1
Contao 4.2
Contao 4.3
Contao 4.4 up to 4.4.45
Contao 4.5
Contao 4.6
Contao 4.7
Contao 4.8 up to 4.8.5

Suggested solution

Update to Contao 4.4.46 or 4.8.6.

Workaround

Configure your web server so it does not execute PHP files and other scripts in the Contao file upload directory.