CVE-2017-16558 — Contao SQL injection in contao/contao — CVE Details
Contao SQL injection in the backend and listing module
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.51%). Schedule for your next planned update.
Does your project use an affected contao/contao version?
Paste your composer.lock to check it for CVE-2017-16558 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Contao 3.0.0 to 3.5.30 and 4.0.0 to 4.4.7 contains an SQL injection vulnerability in the backend as well as in the listing module.
Advisory Timeline
- First published May 24, 2022 (1648 days ago).
- Last revised April 25, 2024 — 702 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "contao/contao:^4.4.8"
composer require "contao/listing-bundle:^4.4.8"
composer require "contao/core-bundle:^4.4.8"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (6)
Affects 1 ecosystem: Packagist (3).
| Package | Fixed In |
|---|---|
| contao/contao Packagist · Affected: All versions | 4.4.8 |
| contao/listing-bundle Packagist · Affected: 4.0.0, 4.0.1, 4.0.2, 4.1.0 (+33 more) | 4.4.8 |
| contao/contao Packagist · Affected: All versions | Range-based data available |
| contao/listing-bundle Packagist · Affected: All versions | Range-based data available |
| contao/core-bundle Packagist · Affected: 4.0.0, 4.0.1, 4.0.2, 4.0.3 (+39 more) | 4.4.8 |
| contao/core-bundle Packagist · Affected: All versions | Range-based data available |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-89SQL InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-16558ADVISORY
- https://github.com/contao/contao/commit/501cb3cd34d61089b94e7ed78da53977bc71fc3eWEB
- https://github.com/contao/contao/commit/6b4a2711edf166c85cfd7a53fed6aea56d4f0544WEB
- https://contao.org/de/changelog/versions/4.4.htmlWEB
- https://contao.org/en/news/contao-4_4_8.htmlWEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2017-16558.yamlWEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/core-bundle/CVE-2017-16558.yamlWEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/listing-bundle/CVE-2017-16558.yamlWEB
- https://github.com/contao/contao/blob/4.4.57/CHANGELOG.md#448-2017-11-15WEB
Frequently Asked Questions
- What is CVE-2017-16558?
- Contao SQL injection in the backend and listing module. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2017-16558?
- CVE-2017-16558 affects contao/contao, contao/listing-bundle and contao/core-bundle. It has a 1.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2017-16558 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is an above-median EPSS score — 74.6% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2019-10643CRITICAL
Contao Does Not Expire Tokens Correctly
- CVE-2026-63412CRITICAL
Jane: Instantiation RCE via query parameter name -> raw PHPDoc */ breakout (jane-php/open-api-3)
- CVE-2019-10641CRITICAL
Contao Does Not Invalidate Existing Sessions When Password Changes
- CVE-2019-11512CRITICAL
Contao SQL injection in the file manager
- CVE-2026-63413CRITICAL
Jane: Instantiation RCE via header parameter name -> raw PHPDoc */ breakout (jane-php/open-api-3)