CVE-2021-22968 json
Improper file handling in concrete5/core
published 2021-11-19 4 y ago modified 2026-06-17 4 mo ago also GHSA-g3p2-hfqr-9m25 , EUVD-2021-2344
- cvss
- 7.2
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.2%
- EPSS 3.2% chance of exploitation in 30 days, percentile 88%
- public exploits
- 0
- none known
Summary
A bypass of adding remote files in Concrete CMS (previously concrete5) File Manager leads to remote code execution in Concrete CMS (concrete5) versions 8.5.6 and below.The external file upload feature stages files in the public directory even if they have disallowed file extensions. They are stored in a directory with a random name, but it's possible to stall the uploads and brute force the directory name. You have to be an admin with the ability to upload files, but this bug gives you the ability to upload restricted file types and execute them depending on server configuration.To fix this, a check for allowed file extensions was added before downloading files to a tmp directory.Concrete CMS Security Team gave this a CVSS v3.1 score of 5.4 AV:N/AC:H/PR:H/UI:R/S:C/C:N/I:H/A:NThis fix is also in Concrete version 9.0.0
Patch / fix
- packagist concrete5/core 8.5.7
- concretecms concrete_cms 8.5.7
Exploit prediction
3.23% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- hackerone.com https://hackerone.com/reports/1350444 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
| GitHub | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | concrete5/core | <8.5.7 |
8.5.7 |
Affected products
- n/a https://github.com/concrete5/concrete5
Classification
References
-
hackerone.com
/reports/1350444
web, exploit, third-party-advisory
-
documentation.concretecms.org
/developers/introduction/version-history/857-release-notes
web, release-notes, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-22968
advisory
-
github.com
/olsgreen/concrete5-core
package
Sources
- CVE List CVE-2021-22968
- GitHub Advisory GHSA-g3p2-hfqr-9m25
- NVD CVE-2021-22968
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.