Jump to content

Shopping carts hacking attempt


Recommended Posts

Hi all,

I'm now using Prestashop version 1.2.3.

I was just looking at my Back office -> Customers -> Carts. I can see thousands of Guest carts that seems to be created automatically, possibly by a bot script, in random intervals. Some carts were created within 1 second intervals.

How do I delete them?
How do I avoid them?
Will the hacker be able to kill my website by creating so many carts?

Thanks in advance,
Anthony

Link to comment
Share on other sites

check the access logs - block the ips that you think that are bots.

it won't kill your server but to delete your carts open adminDirectory/tabs/AdminCarts.php

change $this->delete = false;
to
$this->delete = true;

and from now on you can delete your carts

Link to comment
Share on other sites

  • 1 month later...

For the record... I had the same problem (random carts appearing for no reason, often 20 or 30 at a time separated by only a few seconds). I traced it to GoogleBot crawling my site with a token of some kind. A robots.txt file excluding all bots from order.php and cart.php seems to have fixed the problem.

Regards

Paul T

Link to comment
Share on other sites

×
×
  • Create New...