CVE-2019-19745: Unrestricted file uploads

Published Dec 17, 2019
·
Updated

Impact

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

Patches

Update to Contao 4.4.46 or 4.8.6.

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/unrestricted-file-uploads

For more information

If you have any questions or comments about this advisory, open an issue in contao/contao.

Other sources

Contao 4.0 through 4.8.5 allows PHP local file inclusion. A back end user with access to the form generator can upload arbitrary files and execute them on the server.

— MITRE

Affected Software

25 affected componentsFixes available
composer/contao/contao>=4.0.0, <4.4.46, >=4.5.0, <4.6.0, >=4.6.0, <4.7.0, >=4.7.0, <4.8.0, >=4.8.0, <4.8.6
composer/contao/core-bundle>=4.0.0, <4.4.46, >=4.5.0, <4.6.0, >=4.6.0, <4.7.0, >=4.7.0, <4.8.0, >=4.8.0, <4.8.6
composer/contao/contao>=4.5.0<4.8.6
4.8.6
composer/contao/contao>=4.0.0<4.4.46
4.4.46
composer/contao/core-bundle>=4.5.0<4.8.6
4.8.6
composer/contao/core-bundle>=4.0.0<4.4.46
4.4.46
Contao Contao>=4.4<=4.4.45
Contao Contao>=4.8<=4.8.5
Contao Contao=4.0
Contao Contao=4.1
Contao Contao=4.2
Contao Contao=4.3
Contao Contao=4.5
Contao Contao=4.6
Contao Contao=4.7
composer/contao/core-bundle>=4.0.0, <4.4.46
4.4.46
composer/contao/core-bundle>=4.5.0, <4.6.0
composer/contao/core-bundle>=4.6.0, <4.7.0
composer/contao/core-bundle>=4.7.0, <4.8.0
composer/contao/core-bundle>=4.8.0, <4.8.6
4.8.6
composer/contao/contao>=4.0.0, <4.4.46
4.4.46
composer/contao/contao>=4.5.0, <4.6.0
composer/contao/contao>=4.6.0, <4.7.0
composer/contao/contao>=4.7.0, <4.8.0
composer/contao/contao>=4.8.0, <4.8.6
4.8.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/contao/contao to a version that resolves this vulnerability.

    Fixed in 4.8.6
  2. Upgrade

    Upgrade composer/contao/contao to a version that resolves this vulnerability.

    Fixed in 4.4.46
  3. Upgrade

    Upgrade composer/contao/core-bundle to a version that resolves this vulnerability.

    Fixed in 4.8.6
  4. Upgrade

    Upgrade composer/contao/core-bundle to a version that resolves this vulnerability.

    Fixed in 4.4.46
  5. Upgrade

    Upgrade Contao to a version that resolves this vulnerability.

    Fixed in 4.4.46
  6. Upgrade

    Upgrade Contao to a version that resolves this vulnerability.

    Fixed in 4.8.6
  7. Configuration

    Configure the web server so PHP files and other scripts are not executed in the Contao file upload directory.

    Web server Script execution in the Contao file upload directory = disabled

Event History

Dec 17, 2019
Advisory Published
via Packagist·10:32 AM
Data Sourced
via Packagist·10:32 AM
DescriptionSeverityAffected Software
Advisory Published
11:43 AM
CVE Published
via MITRE·02:17 PM
Data Sourced
via MITRE·02:17 PM
Description

Frequently Asked Questions

1

What is CVE-2019-19745?

CVE-2019-19745 is a vulnerability that allows attackers to upload files without proper validation, leading to potential remote code execution.

2

How does the unrestricted file uploads vulnerability work?

The unrestricted file uploads vulnerability allows attackers to bypass file upload restrictions and upload malicious files to the server.

3

Which software versions are affected by CVE-2019-19745?

The affected software versions include Contao versions 4.0.0 to 4.4.46, 4.5.0 to 4.6.0, 4.6.0 to 4.7.0, 4.7.0 to 4.8.0, and 4.8.0 to 4.8.6.

4

What is the severity of CVE-2019-19745?

CVE-2019-19745 is considered a high severity vulnerability.

5

How can I fix CVE-2019-19745?

To fix CVE-2019-19745, update Contao or Core Bundle to a version higher than the affected ones, as mentioned in the security advisories provided by Contao.

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