Code injection in concrete CMS
Impact
Concrete CMS Versions 9.0.0 through 9.0.2 and 8.5.7 and below can download zip files over HTTP and execute code from those zip files which could lead to an RCE. Fixed by enforcing ‘concrete_secure’ instead of ‘concrete’. Concrete now only makes requests over https even a request comes in via http. Concrete CMS security team ranked this 8 with CVSS v3.1 vector: AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H Credit goes to Anna for reporting HackerOne 1482520.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 9.0.0 before 9.1.0Ecosystem versions | 9.1.0 |
| Earlier releases before 8.5.8Ecosystem versions | 8.5.8 |
Version evidence: OSV · GHSA-6xc4-7fmm-65q2
View original version evidence (28 explicit versions)
Original source description
Concrete CMS Versions 9.0.0 through 9.0.2 and 8.5.7 and below can download zip files over HTTP and execute code from those zip files which could lead to an RCE. Fixed by enforcing ‘concrete_secure’ instead of ‘concrete’. Concrete now only makes requests over https even a request comes in via http. Concrete CMS security team ranked this 8 with CVSS v3.1 vector: AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H Credit goes to Anna for reporting HackerOne 1482520.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2022-21829
- Source reference hackerone.com/reports/1482520
- Release notes documentation.concretecms.org/developers/introduction/version-history/858-release-notes
- Release notes documentation.concretecms.org/developers/introduction/version-history/910-release-notes
- Release notes documentation.concretecms.org/developers/introduction/version-history/910-release-notes,
- Source reference github.com/concretecms/concretecms-core
- Source reference hackerone.com/reports/1482520,