basecom / magento2-disable-customer-address-file-upload
Disable the controller that allows users to upload files for customer address attributes.
Installs: 15
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:magento2-module
pkg:composer/basecom/magento2-disable-customer-address-file-upload
Requires
- php: 7.4|~8.1
- magento/framework: >=103.0.0.4
- magento/module-customer: >=102.0.2
README
This module disables the file upload functionality for customer address attributes in Magento 2. This file upload is by default open to every user and can open up your system to security vulnerabilities.
The SessionReaper attacks exploit this endpoint to upload malicious files to your server and then execute them. While the remote code execution vulnerability has been patched, the upload endpoint was kept open and remains a security risk.
Install this module to disable the upload endpoint and secure your Magento installation.
Installation
-
Install the module via composer
composer require basecom/magento2-disable-customer-address-file-upload -
Enable the module
bin/magento module:enable Basecom_DisableCustomerAddressFileUpload bin/magento setup:upgrade
Security
If you discover any security related issues, please email magento@basecom.de instead of using the issue tracker.
License
Licensed under the MIT license.
Copyright
basecom GmbH & Co. KG