CVE-2021-22969: Concrete5/core Server-Side Request Forgery Vulnerability

MODERATE
Advisory Identifier: GHSA-mcxr-fx5f-96qq
CWE-918
Published
Advisory Summary

CVE-2021-22969 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-22969 at a Glance

CVE Identifier CVE-2021-22969
GHSA Identifier GHSA-mcxr-fx5f-96qq
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-918: Server-Side Request Forgery (SSRF)
Affected Product Concrete5/core
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix CVE-2021-22969

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-22969, 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

Concrete CMS (formerly concrete5) versions below 8.5.7 has a SSRF mitigation bypass using DNS Rebind attack giving an attacker the ability to fetch cloud IAAS (ex AWS) IAM keys.To fix this Concrete CMS no longer allows downloads from the local network and specifies the validated IP when downloading rather than relying on DNS.Discoverer.

CVE-2021-22969 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-22969?
CVE-2021-22969 is a security vulnerability in Concrete5/core involving Server-Side Request Forgery in Concrete CMS under CWE-918: Server-Side Request Forgery (SSRF).
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-22969?
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-22969?
CVE-2021-22969 is classified under CWE-918: Server-Side Request Forgery (SSRF) (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.).
How can I check Packagist dependencies for CVE-2021-22969?
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-mcxr-fx5f-96qq",
  "modified" : "2021-11-22T18:30:27Z",
  "published" : "2021-11-23T18:18:35Z",
  "aliases" : [ "CVE-2021-22969" ],
  "summary" : "Server-Side Request Forgery in Concrete CMS",
  "details" : "Concrete CMS (formerly concrete5) versions below 8.5.7 has a SSRF mitigation bypass using DNS Rebind attack giving an attacker the ability to fetch cloud IAAS (ex AWS) IAM keys.To fix this Concrete CMS no longer allows downloads from the local network and specifies the validated IP when downloading rather than relying on DNS.Discoverer.",
  "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-22969"
  }, {
    "type" : "WEB",
    "url" : "https://hackerone.com/reports/1369312"
  }, {
    "type" : "WEB",
    "url" : "https://documentation.concretecms.org/developers/introduction/version-history/857-release-notes"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-918" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-11-22T18:30:27Z",
    "nvd_published_at" : "2021-11-19T19:15:00Z"
  }
}