CVE-2021-22954: Concrete5/concrete5 Cross Site Request Forgery Vulnerability
HIGHCVE-2021-22954 is a HIGH cross site request forgery vulnerability (CWE-352: Cross-Site Request Forgery (CSRF)) affecting Concrete5/concrete5 libraries in the Packagist ecosystem. The issue involves cross site request forgery in concrete5/concrete5. Remediation is available by upgrading affected packages to version 9.0.0.
CVE-2021-22954 at a Glance
How to Fix CVE-2021-22954
To remediate this vulnerability, upgrade all affected Concrete5/concrete5 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/concrete5 to 9.0.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for concrete5/concrete5
How to Check if You Are Affected
To determine whether your application is affected by CVE-2021-22954, inspect your project dependencies for Concrete5/concrete5:
inspect dependencies for concrete5/concrete5
Analyze the terminal output to locate any version of Concrete5/concrete5 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 9.0.0), 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-352: Cross-Site Request Forgery (CSRF), where the web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor. In Concrete5/concrete5, 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-22954 Affected Concrete5/concrete5 Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
concrete5/concrete5
|
Packagist |
< 9.0.0
|
9.0.0
|
References
Frequently Asked Questions
What is CVE-2021-22954?
Which Concrete5/concrete5 versions are affected?
What version fixes CVE-2021-22954?
Is concrete5/concrete5 affected?
What CWE is associated with CVE-2021-22954?
How can I check Packagist dependencies for CVE-2021-22954?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gr23-g276-xc73",
"modified" : "2022-02-16T22:54:59Z",
"published" : "2022-02-11T00:00:58Z",
"aliases" : [ "CVE-2021-22954" ],
"summary" : "Cross Site Request Forgery in concrete5/concrete5 ",
"details" : "A cross-site request forgery vulnerability exists in Concrete CMS <v9 that could allow an attacker to make requests on behalf of other users.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "concrete5/concrete5"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "9.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-22954"
}, {
"type" : "WEB",
"url" : "https://documentation.concretecms.org/developers/introduction/version-history/90-release-notes"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-352" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-02-16T22:54:59Z",
"nvd_published_at" : "2022-02-09T23:15:00Z"
}
}