VDB
KO
HIGH 7.2

GHSA-645j-cm4x-3xvw

Concrete CMS Vulnerable to Relative Path Traversal

Details

Concrete CMS 9.5.0 and below fails to sanitize path traversal sequences in the ptComposerFormLayoutSetControlCustomTemplate field when saving page type composer form layouts. An authenticated rogue administrator with composer form editing rights can exploit this to include arbitrary readable files on the server. Combined with the file uploader's extension-only validation (which permits PHP code in files saved with image extensions like .png), this can result in authenticated remote code execution. Concrete CMS thanks Yonatan Drori (Tenzai) for reporting this issue.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist / concrete5/concrete5
Introduced in: 0 Fixed in: 9.5.1
Fix composer require concrete5/concrete5:^9.5.1

References