CVE-2021-22967: Concrete5/core Exposure Of Sensitive Information Vulnerability

MODERATE
Advisory Identifier: GHSA-m2v2-8227-59f5
CWE-639 CWE-200
Published
Advisory Summary

CVE-2021-22967 is a MODERATE exposure of sensitive information vulnerability (CWE-639: Authorization Bypass Through User-Controlled Key) affecting Concrete5/core libraries in the Packagist ecosystem. The issue involves exposure of sensitive information in concrete5/core. Remediation is available by upgrading affected packages to version 8.5.7.

CVE-2021-22967 at a Glance

CVE Identifier CVE-2021-22967
GHSA Identifier GHSA-m2v2-8227-59f5
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-639: Authorization Bypass Through User-Controlled Key
Affected Product Concrete5/core
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix CVE-2021-22967

To remediate this vulnerability, upgrade all affected Concrete5/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.

concrete5/core fixed: 8.5.7
Upgrade concrete5/core to 8.5.7
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 concrete5/core

How to Check if You Are Affected

To determine whether your application is affected by CVE-2021-22967, inspect your project dependencies for Concrete5/core:

inspect dependencies for concrete5/core

Analyze the terminal output to locate any version of Concrete5/core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 8.5.7), 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 CWE-639: Authorization Bypass Through User-Controlled Key, where the system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data. In Concrete5/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

In Concrete CMS (formerly concrete 5) below 8.5.7, IDOR Allows Unauthenticated User to Access Restricted Files If Allowed to Add Message to a Conversation.To remediate this, a check was added to verify a user has permissions to view files before attaching the files to a message in "add / edit message”.

CVE-2021-22967 Affected Concrete5/core Versions

1 component(s)
Fixed Versions:
8.5.7
Product / Package Ecosystem Affected Versions Fixed Version
concrete5/core
Packagist
< 8.5.7
8.5.7

References

Frequently Asked Questions

What is CVE-2021-22967?
CVE-2021-22967 is a security vulnerability in Concrete5/core involving Exposure of sensitive information in concrete5/core under CWE-639: Authorization Bypass Through User-Controlled Key.
Which Concrete5/core versions are affected?
Affected versions include releases prior to 8.5.7 across affected packages: concrete5/core.
What version fixes CVE-2021-22967?
Upgrading to 8.5.7 (or the latest patched release for your respective branch) resolves the vulnerability.
Is concrete5/core affected?
Yes, concrete5/core is affected in releases prior to 8.5.7. Upgrade your dependency to 8.5.7 or later.
What CWE is associated with CVE-2021-22967?
CVE-2021-22967 is classified under CWE-639: Authorization Bypass Through User-Controlled Key (The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.).
How can I check Packagist dependencies for CVE-2021-22967?
Run the dependency tree command: 'inspect dependencies for concrete5/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-m2v2-8227-59f5",
  "modified" : "2021-11-24T19:00:59Z",
  "published" : "2021-11-23T17:54:39Z",
  "aliases" : [ "CVE-2021-22967" ],
  "summary" : "Exposure of sensitive information in concrete5/core",
  "details" : "In Concrete CMS (formerly concrete 5) below 8.5.7, IDOR Allows Unauthenticated User to Access Restricted Files If Allowed to Add Message to a Conversation.To remediate this, a check was added to verify a user has permissions to view files before attaching the files to a message in \"add / edit message”.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "concrete5/core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "8.5.7"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-22967"
  }, {
    "type" : "WEB",
    "url" : "https://hackerone.com/reports/869612"
  }, {
    "type" : "WEB",
    "url" : "https://documentation.concretecms.org/developers/introduction/version-history/857-release-notes"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200", "CWE-639" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-11-22T19:40:20Z",
    "nvd_published_at" : "2021-11-19T19:15:00Z"
  }
}