Security issues continue to hound Magento 2. You’re lucky you haven’t migrated yet, otherwise you could be one of the 200,000 online sellers who are at risk.
Web security service provider DefenseCode detected a remote code execution (RCE) bug linked to a feature in the Magento 2 software which allows administrators to add videos hosted on Vimeo.
That could serve as an entryway for hackers to access a Magento user’s database, including confidential information, and even install malware.
All they have to do is get a user to download a URL which contains a .htaccess file and a PHP file, and then they can easily manipulate the user’s system using a remote server.
“During the security audit of Magento Community Edition, a high risk vulnerability was discovered that could lead to remote code execution and thus the complete system compromise, including the database containing sensitive customer information such as stored credit card numbers and other payment information,” DefenseCode said in their advisory.
They added that the affected versions of the Magento Community Edition software include v.2.1.6 and below.
Reassurance from Magento
Though they haven’t heard of any actual attacks yet, Magento reassured their customers that they are looking into the matter.
“We have been actively investigating the root cause of the reported issue and are not aware of any attacks in the wild. We will be addressing the issue in our next patch release and continue to consistently work to improve our assurance processes,” they said.
To protect their users from possible security attacks, Magento sent out an email which includes the steps to switching on the “Add Secret Key to URLs” option.
Here’s how to do it:
- Log on to Merchant Site Admin URL (e.g., your domain.com/admin)
- Click on Stores > Configuration > ADVANCED > Admin > Security > Add Secret Key to URLs
- Select YES from the dropdown options
- Click on Save Config
We may have sounded like a broken record, telling you repeatedly that Magento 2 is still not ready, but we’re so glad that we did.
What are your thoughts on this security issue? Share them with us in the comments below.
As always, to your continued success,
Dave & Matt