CVE-2021-22970: Concrete5/core Server-Side Request Forgery Vulnerability
MODERATECVE-2021-22970 is a MODERATE server-side request forgery vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Concrete5/core libraries in the Packagist ecosystem. The issue involves server-side request forgery in concrete cms. Remediation is available by upgrading affected packages to version 8.5.7.
CVE-2021-22970 at a Glance
How to Fix CVE-2021-22970
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-22970, 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-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. 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-22970 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-22970?
Which Concrete5/core versions are affected?
What version fixes CVE-2021-22970?
Is concrete5/core affected?
What CWE is associated with CVE-2021-22970?
How can I check Packagist dependencies for CVE-2021-22970?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gqpw-9q54-9x28",
"modified" : "2021-11-22T18:24:09Z",
"published" : "2021-11-23T18:18:43Z",
"aliases" : [ "CVE-2021-22970" ],
"summary" : "Server-Side Request Forgery in Concrete CMS",
"details" : "Concrete CMS (formerly concrete5) versions 8.5.6 and below and version 9.0.0 allow local IP importing causing the system to be vulnerable to SSRF attacks on the private LAN to servers by reading files from the local LAN. An attacker can pivot in the private LAN and exploit local network appsandb.",
"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-22970"
}, {
"type" : "WEB",
"url" : "https://hackerone.com/reports/1364797"
}, {
"type" : "WEB",
"url" : "https://documentation.concretecms.org/developers/introduction/version-history/857-release-notes"
}, {
"type" : "WEB",
"url" : "https://documentation.concretecms.org/developers/introduction/version-history/901-release-notes"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-918" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2021-11-22T18:24:09Z",
"nvd_published_at" : "2021-11-19T19:15:00Z"
}
}