GHSA-wq43-8r5p-w3mc: Contao/core Contao/core PHP Object Injection Vulnerability Vulnerability

HIGH
Published
Advisory Summary

GHSA-wq43-8r5p-w3mc is a HIGH contao/core php object injection vulnerability vulnerability (General Security Weakness) affecting Contao/core libraries in the Packagist ecosystem. The issue involves contao/core php object injection vulnerability allows for arbitrary code execution. Remediation is available by upgrading affected packages to version 2.11.14, 3.2.5.

GHSA-wq43-8r5p-w3mc at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-wq43-8r5p-w3mc
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Contao/core
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix GHSA-wq43-8r5p-w3mc

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.

contao/core fixed: 2.11.14
Upgrade contao/core to 2.11.14
contao/core fixed: 3.2.5
Upgrade contao/core to 3.2.5
Verify Direct and Transitive Dependencies

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-wq43-8r5p-w3mc, 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.14), 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

PHP object injection vulnerability was identified in contao/core due to untrusted data being passed to `deserialize()` function.

GHSA-wq43-8r5p-w3mc Affected Contao/core Versions

2 component(s)
Fixed Versions:
2.11.143.2.5
Product / Package Ecosystem Affected Versions Fixed Version
contao/core
Packagist
≥ 2.0.0
< 2.11.14
2.11.14
contao/core
Packagist
≥ 3.0.0
< 3.2.5
3.2.5

References

Frequently Asked Questions

What is GHSA-wq43-8r5p-w3mc?
GHSA-wq43-8r5p-w3mc is a security vulnerability in Contao/core involving contao/core PHP object injection vulnerability allows for arbitrary code execution under General Security Weakness.
Which Contao/core versions are affected?
Affected versions include releases prior to 2.11.14, 3.2.5 across affected packages: contao/core.
What version fixes GHSA-wq43-8r5p-w3mc?
Upgrading to 2.11.14, 3.2.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is contao/core affected?
Yes, contao/core is affected in releases prior to 2.11.14, 3.2.5. Upgrade your dependency to 2.11.14, 3.2.5 or later.
What CWE is associated with GHSA-wq43-8r5p-w3mc?
GHSA-wq43-8r5p-w3mc is classified under General Security Weakness.
How can I check Packagist dependencies for GHSA-wq43-8r5p-w3mc?
Run the dependency tree command: 'inspect dependencies for contao/core'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-wq43-8r5p-w3mc",
  "modified" : "2024-05-15T18:31:04Z",
  "published" : "2024-05-15T18:31:04Z",
  "aliases" : [ ],
  "summary" : "contao/core PHP object injection vulnerability allows for arbitrary code execution",
  "details" : "PHP object injection vulnerability was identified in contao/core due to untrusted data being passed to `deserialize()` function.\n",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "contao/core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0"
      }, {
        "fixed" : "2.11.14"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "contao/core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.2.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/contao/core/issues/6695"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/contao/core/commit/d67c46c1f1283134e3050244cfdda0ef26fa5cd4"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/contao/core/commit/f939b5be8a0048ef779def3289e2072febef1b37"
  }, {
    "type" : "WEB",
    "url" : "https://contao.org/en/news/major-security-hole-found-in-contao.html"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/core/2014-02-13.yaml"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-15T18:31:04Z",
    "nvd_published_at" : null
  }
}