kunstmaan/media-bundle is vulnerable to Remote Code Execution (RCE)
72
CVE Score
High
Remote Code Execution (RCE)
The kunstmaan/media-bundle upload handler blacklists dangerous file extensions with a case sensitive regex and only lowercases the extension later when storing the file. An authenticated media-admin user can upload a file named webshell.pHp, which slips past the php/htaccess blacklist and is written to the public upload directory as webshell.php, where the web server executes it. The default blacklist also omits other server executable extensions such as phtml, php5, and phar, widening the same bypass. The fix normalizes the extension before comparing it against the blacklist with in_array(), expands the default blacklist, and adds an opt in allow list.
Upgrade the kunstmaan/media-bundle and/or the kunstmaan/bundles-cms library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
1.0.0 - 7.3.1
Fixed in 7.3.2kunstmaan/media-bundle is vulnerable to Remote Code Execution (RCE) in versions 1.0.0 - 7.3.1.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.