Zen Cart Logo
Forums / Reports of Security Problems / 1.3.8a Site Hacked

1.3.8a Site Hacked

Views: 21

Results 1 to 3 of 3
5 May 2010, 1:46 PM
#1
eatsleepfly avatar

eatsleepfly

New Zenner

Join Date:
Jan 2004
Location:
232nm NW of paradise
Posts:
27
Plugin Contributions:
1

1.3.8a Site Hacked

Here is the beginning of my server log from a successful hack attempt on a long-running 1.3.8a install without the Admin directory renamed...
I don't know if this is a ZenCart vulnerability per se; I do know that I had not renamed the Admin directory!

However, I did rename the Admin directory last night, changed my password, checked all email addresses, installed .htaccess into places where it wasn't and tightened up the file permissions but there seems to be a backdoor into the Admin Panel (and I think I deleted all of the files this person put on the server.)

The person installed a sub-directory into my images directory, along with several php files... (I've deleted them - actually I've moved them down to my local machine)

But when I do what s/he did, I'm still able to access the Admin Panel without a password!

I type in https://www.mints-usa.com/admin/record_company.php/password_forgotten.php and I'm dropped right into the Admin Panel without a password.

72.27.212.104 - - [04/May/2010:10:31:57 -0700] "GET https://www.mints-usa.com/admin/ HTTP/1.1" 302 5 "-" "Mozilla Firefox"
72.27.212.104 - - [04/May/2010:10:31:59 -0700] "POST https://www.mints-usa.com/admin/record_company.php/password_forgotten.php?action=insert HTTP/1.1" 302 5 "-" "Mozilla Firefox"
72.27.212.104 - - [04/May/2010:10:32:01 -0700] "GET https://www.mints-usa.com/images/a3f39.php HTTP/1.1" 200 69 "-" "Mozilla Firefox"
72.27.212.104 - - [04/May/2010:10:32:09 -0700] "GET https://www.mints-usa.com/images/a3f39.php HTTP/1.1" 200 5 "-" "Mozilla Firefox"
72.27.212.104 - - [04/May/2010:10:32:13 -0700] "GET https://www.mints-usa.com/images/a3f39.php HTTP/1.1" 200 8708 "-" "Mozilla Firefox"
72.27.212.104 - - [04/May/2010:10:32:14 -0700] "GET https://www.mints-usa.com/images/a3f39.php HTTP/1.1" 200 160 "-" "Mozilla Firefox"
109.97.57.154 - - [04/May/2010:10:32:23 -0700] "GET https://www.mints-usa.com/images/x/poste.js HTTP/1.1" 404 1695 "http://www.mints-usa.com/images/x/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)"
109.97.57.154 - - [04/May/2010:10:32:23 -0700] "GET https://www.mints-usa.com/images/x/resources/javascripts/glider.js HTTP/1.1" 404 1695 "http://www.mints-usa.com/images/x/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)"
109.97.57.154 - - [04/May/2010:10:32:23 -0700] "GET https://www.mints-usa.com/images/x/resources/javascripts/prototype.js HTTP/1.1" 404 1695 "http://www.mints-usa.com/images/x/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)"
109.97.57.154 - - [04/May/2010:10:32:23 -0700] "GET https://www.mints-usa.com/images/x/resources/javascripts/effects.js HTTP/1.1" 404 1695 "http://www.mints-usa.com/images/x/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)"

it goes on...

I'm updating to 1.3.9b now.

(Thanks for listening!)

Val

5 May 2010, 2:51 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: 1.3.8a Site Hacked

Sounds like you didn't have all the published patches installed, thus leaving the door open.

Be sure that your upgrade process includes cleaning up any added files as well as any added content in your files.

13 May 2010, 6:07 PM
#3
eatsleepfly avatar

eatsleepfly

New Zenner

Join Date:
Jan 2004
Location:
232nm NW of paradise
Posts:
27
Plugin Contributions:
1

Re: 1.3.8a Site Hacked

I've upgraded to .9b... now access logs reflect errors as the probing continues.

** THANK YOU **
And thank you very much for ZenCart. :smile: