CVE-2019-11512 Contao SQL injection in the file manager

Critical 9.8 Published Updated

An attacker can execute arbitrary SQL commands in Contao CMS, potentially reading or modifying database contents.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-11512?

CVE-2019-11512 is a critical SQL injection vulnerability in n/a, published on 9 Jul 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Contao 4.x allows SQL Injection. Fixed in Contao 4.4.39 and Contao 4.7.5.

Weakness: CWE-89

Which versions are affected by CVE-2019-11512?

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.1.04.4.39
contao/contao PackagistFrom 4.1.04.4.39
contao/contao PackagistFrom 4.5.04.7.5
contao/contao PackagistFrom 4.5.04.7.5
contao/core-bundle PackagistFrom 4.1.04.4.39
contao/core-bundle PackagistFrom 4.1.04.4.39
2 more packages
contao/core-bundle PackagistFrom 4.5.04.7.5
contao/core-bundle PackagistFrom 4.5.04.7.5

Products include Contao Contao.

How do I fix CVE-2019-11512?

Upgrade contao/contao to a fixed version for your release line: 4.4.39 or 4.7.5.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2019-11512 being exploited?

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

Sources

Also known as GHSA-vq59-x6mq-4wgw.

Is CVE-2019-11512 in your software?

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

Check your SBOMs for free