{"id":"CVE-2021-22968","published":"2021-11-19T18:11:35Z","modified":"2024-08-03T18:58:25Z","title":"A bypass of adding remote files in Concrete CMS (previously concrete5) File Manager leads to remote code execution in…","vendor":null,"product":null,"tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.03235,"percentile":0.88583,"provenance":"source"},"cwes":[{"id":"CWE-98","name":"Improper Control of Filename for Include/Require Statement in PHP Program"}],"references":[{"url":"https://documentation.concretecms.org/developers/introduction/version-history/857-release-notes","tags":["x_refsource_MISC"]},{"url":"https://hackerone.com/reports/1350444","tags":["x_refsource_MISC"]}],"priority":{"score":17.7,"factors":[{"name":"EPSS percentile","points":17.72}]},"affectedVersions":[{"vendor":"n/a","product":"https://github.com/concrete5/concrete5","versions":["Concrete CMS  version 9.0 and version 8.5.7"]}],"affected":[{"ecosystem":"Packagist","package":"concrete5/core","vulnerableRanges":["<8.5.7"],"patched":["8.5.7"],"from":["GHSA-g3p2-hfqr-9m25"],"provenance":"source"}],"summary":{"text":"A flaw in the External File Upload feature of the File Manager in Concrete CMS (formerly concrete5) allows remote files to be staged in a publicly reachable directory even when their extensions are disallowed, because the extension check was missing before download. An attacker who already holds an administrator account with file upload rights could stall the uploads and brute-force the randomly named directory to upload and execute restricted file types, depending on the server configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:57Z"},"euvd":{"id":"EUVD-2021-2344","exploited":false,"provenance":"source"}}