PrestaShop's official website PrestaShop.com was hacked this week. The PrestaShop team say they have located and fixed the issue, but the script used to display PrestaShop news within your store back office was affected. Unfortunately, this means your store could be compromised.
The hack only affects stores using PrestaShop versions 1.4, 1.4.1, 1.4.2, 1.4.3 and 1.4.4.
Last night, the PrestaShop's official website, prestashop.com, was hacked, resulting in the misappropriation of a script intended for transcribing news information in the Back Office of PrestaShop stores.
The entire PrestaShop team dedicated ourselves to identifying and fixing this issue as quickly as possible. That fix has been completed.
Has my shop been infected?
This only affects PrestaShop versions 1.4/1.4.1/1.4.2/1.4.3/1.4.4, but not all shops using these versions are necessarily affected
If you use one of these versions, please check for any of the following symptoms:
- A her.php file is at the root of /modules folder
- A .php file different from index.php is in the upload and download folders
- Your footer.tpl file has been modified
- Your tools/smarty_v2 folder is missing
If you fulfill one of these conditions, your shop may have been infected. However, it is easy to fix just by following the instructions listed below.
As a preventive measure, we recommend you to apply this fix even if your shop has not been affected.
What should I do?
- Change your database password (or contact your webhost if you do not know how to do it). Once you have done that, open the settings.inc.php file in your /config folder and replace your old password with the new one.
- Download the fix published by PrestaShop by clicking here
- Upload it to the root folder of your shop with your FTP client (Filezilla, Transmit…)
- Go to the url http://www.myshop.com/herfix.php - replace myshop.com by your domain name
- The fix is now applied. Please do not forget to check if the herfix.php file previously uploaded at the root of your shop has been automatically deleted, and delete if it didn't.
- Rename the admin folder
- Change the password of all admins of your shop
If you need any help or have any additional questions, you can email us at [email protected]. You will receive an answer at the soonest.
The whole PrestaShop team wants to deeply thank the community for its help in identifying this issue.