Hi All,
Having used OSC ms2.2 and OSCMax for a number of years across a number of different websites, i had a bit of a shock this morning, when i received a phone call from a client claiming that one of their customers had complained about having to fill out their credit card details twice; once on the website and once through protx. Upon investigation it became apparent that one of my worst fears was happening and that this site had been seriously hacked, and a fake "Payment Form" has now been inserted into the checkout_confirmation.php screen.
I have posted this to the OSC forums, but such is my concern over security breeches that i'm posting it to this community too.
I've found a number of files have appeared on the server within the catalog/images folder:
cvv.html
yzx.txt
two image files for mastercard and amex
Additionally, the following files within catalog/ have all been modified with different upload dates according to my ftp client:
index.php
create_account.php
login.php
tell_a_friend.php
Each modified file contains the following:
// da edit xong
The login file contains this code at line 26:
$password123 = $password;
session_unregister("password123");
session_register("password123");
// da edit xong
Create account Contains around line 55:
$password123 = $password;
session_unregister("password123");
session_register("password123");
// da edit xong
The index file contains:
$td_query = tep_db_query("UPDATE `configuration` SET `configuration_value` = 'true' where `configuration_key` = 'ACCOUNT_DOB'");
at the bottom of the file.
Tell a Friend
The Tell a Friend file however is of most concern as this file has been modified to allow the hacker to upload other modified files.
My belief is that the tell a friend file was the first to be modified and then the hackers use this file to do their work, via uploading the other files.
Additionally i have subsequently established that the checkout_confirmation.php page has also been hacked, however the date has not been altered since the original upload when the site was moved to its new server earlier this year.
This file has been modifed to run an sql query to extract the customers (based on their customer_id) information, ie name, address, date of birth, telephone and email to be emailed to a gmail account, along with the credit card details that have been posted on the "Fake Payment" form.
--
As far as i can ascertain no other files have been modified / hacked.
We have in the past few hours been able to rule out a security breech from malware / spyware / keyword loggers etc, and the server company have also ruled out a security breech.
I am still investigating how the fake payment form has been added into the checkout page, however i have now deleted the entire shop from the server pending further investigation.
If anybody has experienced this before and knows if there is a security breech or "hole" within OSC ie a file or folder that could potentially be a security risk, then if they could let me know so i can close it all up - as this site is on a dedicated server all folders are set to 755 including the images folder and all config files are set to 444.
Regards,
Rob




LinkBack URL
About LinkBacks











Bookmarks