Jump to content
thirty bees forum

Should we worry about Prestashop's PHPunit vulnerability?


Recommended Posts

Posted
Quote

Prestashop is distributing this email warning about a malware vulnerability. As thirtybees is a fork of Prestashop, should we take any action on this?

Quote

Your store may be vulnerable to malware. Here is what you need to do

Dear PrestaShop user,

 

On January 2nd, we discovered a malware named XsamXadoo Bot. This malware can be used to have access to an online store and take control of it.

 

We now believe that the bot used a known vulnerability of the PHP tool PHPUnit that has been reported as CVE-2017-9841.

 

Here is what you need to do, it should take only 5 minutes.

1) Is my website vulnerable?

To know if your store is vulnerable to an attack, this is what you should do. If you’re uncomfortable managing files on your server, contact your qualified team member:

  1. On your server, look into the Vendor folder at the root level of your PrestaShop website
  2. If the Vendor folder contains a “phpunit” folder, you may be vulnerable to an outside attacker.
  3. You can now simply delete the “phpunit” folder and its content.

Once you checked the main PrestaShop folder, repeat the same steps but inside each module folder:

  1. In each module folder, check if there is a Vendor folder
  2. Inside the Vendor folder of each module, check if there is a folder named “phpunit”.
  3. If one module folder contains this “phpunit” folder, this module may make you vulnerable to an outside attacker.
  4. You can simply delete the “phpunit” folder.

Double check if every module Vendor folder does not contain a "phpunit folder".

 

It will not affect module behavior. This simple step will protect your online store from this vulnerability, but remember that your website may have already been compromised.

 

→ If you did not find any module containing this phpunit folder, your store is not vulnerable.

 

For more technically detailed instructions, please visit our dedicated post.

2) What can happen if my store is compromised?

This vulnerability gives an attacker access to your website: for instance, this means an attacker can potentially steal your data.

 

For more information, please visit our dedicated post on this matter

3) What is PrestaShop doing right now about this vulnerability?

All PrestaShop agency partners and ambassadors have been informed and should have already secured the shops they have control over.

 

All the PrestaShop modules have been updated and are now safe. We are also currently checking every other module available on PrestaShop Addons, to see if they contain the “phpunit” vulnerable folder.

 

If you believe your website has already been compromised, we strongly advise you to contact a security expert.

 

The security of online stores is at the center of our concerns. Our teams are making sure the impact of this malware will be as small as possible. We will of course keep you updated regularly on this matter

The PrestaShop Team

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...