CVE-2021-22951: Concrete5/core Password Exposure Vulnerability
MODERATECVE-2021-22951 is a MODERATE password exposure vulnerability (CWE-639: Authorization Bypass Through User-Controlled Key) affecting Concrete5/core libraries in the Packagist ecosystem. The issue involves password exposure in concrete5/core. Remediation is available by upgrading affected packages to version 8.5.7.
CVE-2021-22951 at a Glance
How to Fix CVE-2021-22951
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.
Upgrade concrete5/core to 8.5.7
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-22951, 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
CVE-2021-22951 Affected Concrete5/core Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
concrete5/core
|
Packagist |
< 8.5.7
|
8.5.7
|
References
Frequently Asked Questions
What is CVE-2021-22951?
Which Concrete5/core versions are affected?
What version fixes CVE-2021-22951?
Is concrete5/core affected?
What CWE is associated with CVE-2021-22951?
How can I check Packagist dependencies for CVE-2021-22951?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rhf5-f553-xg82",
"modified" : "2021-11-22T18:22:30Z",
"published" : "2021-11-23T18:18:16Z",
"aliases" : [ "CVE-2021-22951" ],
"summary" : "Password exposure in concrete5/core",
"details" : "Unauthorized individuals could view password protected files using view_inline in Concrete CMS (previously concrete 5) prior to version 8.5.7. Concrete CMS now checks to see if a file has a password in view_inline and, if it does, the file is not rendered.For version 8.5.6, the following mitigations were put in place a. restricting file types for view_inline to images only b. putting a warning in the file manager to advise users.",
"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-22951"
}, {
"type" : "WEB",
"url" : "https://hackerone.com/reports/1102014"
}, {
"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-22T18:21:13Z",
"nvd_published_at" : "2021-11-19T19:15:00Z"
}
}