GHSA-wxxw-5gq6-j2g5: Contao/core Contao/core Insufficient Input Validation Allows Vulnerability
CRITICALGHSA-wxxw-5gq6-j2g5 is a CRITICAL (CVSS 9.0) contao/core insufficient input validation allows vulnerability (General Security Weakness) affecting Contao/core libraries in the Packagist ecosystem. The issue involves contao/core insufficient input validation allows for code injection and remote execution. Remediation is available by upgrading affected packages to version 2.11.17, 3.2.9.
GHSA-wxxw-5gq6-j2g5 at a Glance
Security Impact
CVSS: 9.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H).
How to Fix GHSA-wxxw-5gq6-j2g5
To remediate this vulnerability, upgrade all affected Contao/core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade contao/core to 2.11.17
Upgrade contao/core to 3.2.9
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for contao/core
How to Check if You Are Affected
To determine whether your application is affected by GHSA-wxxw-5gq6-j2g5, inspect your project dependencies for Contao/core:
inspect dependencies for contao/core
Analyze the terminal output to locate any version of Contao/core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.11.17), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Contao/core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-wxxw-5gq6-j2g5 Affected Contao/core Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
contao/core
|
Packagist |
≥ 2.0.0
< 2.11.17
|
2.11.17
|
|
contao/core
|
Packagist |
≥ 3.0.0
< 3.2.9
|
3.2.9
|
References
Frequently Asked Questions
What is GHSA-wxxw-5gq6-j2g5?
Which Contao/core versions are affected?
What version fixes GHSA-wxxw-5gq6-j2g5?
Is contao/core affected?
What is the CVSS score of GHSA-wxxw-5gq6-j2g5?
What CWE is associated with GHSA-wxxw-5gq6-j2g5?
How can I check Packagist dependencies for GHSA-wxxw-5gq6-j2g5?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wxxw-5gq6-j2g5",
"modified" : "2024-05-15T18:31:02Z",
"published" : "2024-05-15T18:31:02Z",
"aliases" : [ ],
"summary" : "contao/core Insufficient input validation allows for code injection and remote execution",
"details" : "contao/core versions 2.x prior to 2.11.17 and 3.x prior to 3.2.9 are vulnerable to arbitrary code execution on the server due to insufficient input validation. In fact, attackers can remove or change pathconfig.php by entering a URL, meaning that the entire Contao installation will no longer be accessible or malicious code can be executed.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "contao/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"fixed" : "2.11.17"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "contao/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.2.9"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/contao/core/issues/6855"
}, {
"type" : "WEB",
"url" : "https://github.com/contao/core/commit/d45503568751a868193929ef349a49ae5e6686f0"
}, {
"type" : "WEB",
"url" : "https://github.com/contao/core/commit/d4a14f167e0cbb2e77c7829299e5b36f55c1ebce"
}, {
"type" : "WEB",
"url" : "https://c-c-a.org/aktuelles/news/details/eine-neue-kritische-sicherheitsluecke-in-contao-entdeckt"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/core/2014-04-07.yaml"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20240214121817/https://contao.org/en/news/new-security-hole-found-in-contao"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-15T18:31:02Z",
"nvd_published_at" : null
}
}