Kunstmaan KunstmaanBundlesCMS
Kunstmaan CMS: MediaBundle extension blacklist bypass allows authenticated administrators to upload executable PHP files leading to remote code execution
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- < 7.3.1
Fixed in 7.3.1
- < 7.3.1
Fixed in 7.3.1
- < 7.3.1
Fixed in 7.3.1
Mitigation
Upgrade KunstmaanBundlesCMS to 7.3.1 or later.
Upgrade bundles-cms to 7.3.1 or later.
Upgrade media-bundle to 7.3.1 or later.
References
- Vendor advisory github.com/Kunstmaan/KunstmaanBundlesCMS/secur…
- Patch github.com/Kunstmaan/KunstmaanBundlesCMS/commi…
- Release notes github.com/Kunstmaan/KunstmaanBundlesCMS/relea…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.