Description
Kunstmaan CMS is an open source content management system based on the Symfony framework. Prior to 7.3.2, src/Kunstmaan/MediaBundle/Helper/File/FileHandler.php performs the blacklisted_extensions check case-sensitively in FileHandler::getFilePath and lowercases the stored extension afterward. An authenticated backend user with media access can upload a mixed-case executable extension such as PHP that bypasses the check and is stored in the web-accessible media directory with an executable lowercase extension. The default blacklist also omits several server-executable extension types, allowing the same code-execution impact where the web server executes uploaded files. This issue is fixed in version 7.3.2.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Kunstmaan | KunstmaanBundlesCMS | < 7.3.1 | — |
| kunstmaan | bundles-cms | < 7.3.1 | — |
| kunstmaan | media-bundle | < 7.3.1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | kunstmaan/bundles-cms | < 7.3.2 | 7.3.2 | GHSA-p279-5wcv-45vq |
| Packagist | kunstmaan/media-bundle | < 7.3.2 | 7.3.2 | GHSA-p279-5wcv-45vq |