CVE-2017-16558 Contao SQL injection in the backend and listing module
An SQL injection vulnerability in Contao CMS allows attackers to read or modify database contents via the back end or listing module.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-16558?
CVE-2017-16558 is a critical SQL injection vulnerability in n/a, published on 25 Apr 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Contao 3.0.0 to 3.5.30 and 4.0.0 to 4.4.7 contains an SQL injection vulnerability in the back end as well as in the listing module.
Weakness: CWE-89
Which versions are affected by CVE-2017-16558?
12 open source packages ship an affected version, including contao/contao, contao/core-bundle and contao/listing-bundle. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
contao/contao Packagist | From 3.0.0 to 3.5.30 | None |
contao/contao Packagist | From 3.0.0 to 3.5.30 | None |
contao/contao Packagist | From 4.0.0 | 4.4.8 |
contao/contao Packagist | From 4.0.0 | 4.4.8 |
contao/core-bundle Packagist | From 3.0.0 to 3.5.30 | None |
contao/core-bundle Packagist | From 3.0.0 to 3.5.30 | None |
6 more packages
contao/core-bundle Packagist | From 4.0.0 | 4.4.8 |
contao/core-bundle Packagist | From 4.0.0 | 4.4.8 |
contao/listing-bundle Packagist | From 3.0.0 to 3.5.30 | None |
contao/listing-bundle Packagist | From 3.0.0 to 3.5.30 | None |
contao/listing-bundle Packagist | From 4.0.0 | 4.4.8 |
contao/listing-bundle Packagist | From 4.0.0 | 4.4.8 |
Products include Contao Contao Cms.
How do I fix CVE-2017-16558?
Upgrade contao/contao to 4.4.8 or later.
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-2017-16558 being exploited?
There is no known exploitation of CVE-2017-16558 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-w38g-hj45-mjjp.