CVE-2019-19745 Unrestricted file uploads in Contao

High 8.8 Published Updated

Authenticated back-end users can upload arbitrary files to execute code on the server via local file inclusion in Contao.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-19745?

CVE-2019-19745 is a high-severity vulnerability in n/a, published on 17 Dec 2019. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Weakness: CWE-434

Which versions are affected by CVE-2019-19745?

8 open source packages ship an affected version, including contao/contao and contao/core-bundle. It affects 1 product.

PackageAffectedFixed in
contao/contao PackagistFrom 4.0.04.4.46
contao/contao PackagistFrom 4.0.04.4.46
contao/contao PackagistFrom 4.5.04.8.6
contao/contao PackagistFrom 4.5.04.8.6
contao/core-bundle PackagistFrom 4.0.04.4.46
contao/core-bundle PackagistFrom 4.0.04.4.46
2 more packages
contao/core-bundle PackagistFrom 4.5.04.8.6
contao/core-bundle PackagistFrom 4.5.04.8.6

Products include Contao Contao.

How do I fix CVE-2019-19745?

Upgrade contao/contao to a fixed version for your release line: 4.4.46 or 4.8.6.

Is CVE-2019-19745 being exploited?

There is no known exploitation of CVE-2019-19745 in the wild and no public exploit code.

Sources

Also known as GHSA-wjx8-cgrm-hh8p.

Is CVE-2019-19745 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free