kunstmaan/media-bundle is vulnerable to Remote Code Execution (RCE)
72
High Risk
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.
You are affected if you are using a version that falls within the vulnerable range.
kunstmaan/media-bundle is vulnerable to Remote Code Execution (RCE) in versions 1.0.0 - 7.3.1.
Upgrade the kunstmaan/media-bundle and/or the kunstmaan/bundles-cms library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

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.