The PrestaShop team has advised that all PrestaShop versions 1.4.x are vulnerable to a hack and have issued a fix. We have seen this exploit ourselves in our servers, and we’d advise all PrestaShop owners to take action now.
The update from the PrestaShop team is included in full below:
PrestaShop Security Fix
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/smartyv2 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.
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. See below:
- Download the fix published by PrestaShop available on http://addons.prestashop.com/fr/herfix/
- 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 (where myshop.com is replaced by the domain name of your site)
- The fix is now applied. Please do not forget to delete the herfix.php file previously uploaded at the root of your shop
- 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 moc.pohsatserpnull@ytiruces. 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.





Hi everybody,
I’m the PrestaShop Community Manager, and just wanted to make sure anyone reading this knows that we fixed the loophole, pushed out a patch and provided advice on how to fix this for yourself all within 24 hours of the first report.
If you have any additional questions or concerns about this, I would like to invite you to visit our forums at http://www.prestashop.com/forums. I will be there to answer them.
Thanks,
Mike