CVE-2023-50462: T3s/content consent Insecure Direct Object Reference Vulnerability

MODERATE
Advisory Identifier: GHSA-j8cw-ppmv-wj85
CVSS 5.3
Published
Advisory Summary

CVE-2023-50462 is a MODERATE (CVSS 5.3) insecure direct object reference vulnerability (General Security Weakness) affecting T3s/content consent libraries in the Packagist ecosystem. The issue involves insecure direct object reference in extension "content consent" (content_consent). Remediation is available by upgrading affected packages to version 2.0.2, 1.0.3.

CVE-2023-50462 at a Glance

CVE Identifier CVE-2023-50462
GHSA Identifier GHSA-j8cw-ppmv-wj85
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification General Security Weakness
Affected Product T3s/content consent
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2023-50462

To remediate this vulnerability, upgrade all affected T3s/content consent dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

t3s/content-consent fixed: 2.0.2
Upgrade t3s/content-consent to 2.0.2
t3s/content-consent fixed: 1.0.3
Upgrade t3s/content-consent to 1.0.3
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 t3s/content-consent

How to Check if You Are Affected

To determine whether your application is affected by CVE-2023-50462, inspect your project dependencies for T3s/content consent:

inspect dependencies for t3s/content-consent

Analyze the terminal output to locate any version of T3s/content consent in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.2), 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 T3s/content consent, 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

The extension fails to verify whether a specified content element identifier is permitted by the plugin. This enables an unauthenticated user to display various content elements, leading to an insecure direct object reference (IDOR) vulnerability with the potential to expose internal content elements.

CVE-2023-50462 Affected T3s/content consent Versions

2 component(s)
Fixed Versions:
2.0.21.0.3
Product / Package Ecosystem Affected Versions Fixed Version
t3s/content-consent
Packagist
≥ 2.0.0
< 2.0.2
2.0.2
t3s/content-consent
Packagist
< 1.0.3
1.0.3

References

Frequently Asked Questions

What is CVE-2023-50462?
CVE-2023-50462 is a security vulnerability in T3s/content consent involving Insecure Direct Object Reference in extension "Content Consent" (content_consent) under General Security Weakness.
Which T3s/content consent versions are affected?
Affected versions include releases prior to 2.0.2, 1.0.3 across affected packages: t3s/content-consent.
What version fixes CVE-2023-50462?
Upgrading to 2.0.2, 1.0.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is t3s/content-consent affected?
Yes, t3s/content-consent is affected in releases prior to 2.0.2, 1.0.3. Upgrade your dependency to 2.0.2, 1.0.3 or later.
What is the CVSS score of CVE-2023-50462?
CVE-2023-50462 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2023-50462?
CVE-2023-50462 is classified under General Security Weakness.
How can I check Packagist dependencies for CVE-2023-50462?
Run the dependency tree command: 'inspect dependencies for t3s/content-consent'. 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-j8cw-ppmv-wj85",
  "modified" : "2023-12-13T23:12:32Z",
  "published" : "2023-12-13T23:12:32Z",
  "aliases" : [ "CVE-2023-50462" ],
  "summary" : "Insecure Direct Object Reference in extension \"Content Consent\" (content_consent)",
  "details" : "The extension fails to verify whether a specified content element identifier is permitted by the plugin. This enables an unauthenticated user to display various content elements, leading to an insecure direct object reference (IDOR) vulnerability with the potential to expose internal content elements.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "t3s/content-consent"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0"
      }, {
        "fixed" : "2.0.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "t3s/content-consent"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.0.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/t3s/content-consent/CVE-2023-50462.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://typo3.org/security/advisory/typo3-ext-sa-2023-009"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-12-13T23:12:32Z",
    "nvd_published_at" : null
  }
}