Zen Cart Logo
Forums / General Questions / Admin account would not work

Admin account would not work

Locked

Views: 1,433

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
11 Oct 2010, 11:37 PM
#1
ve39 avatar

ve39

New Zenner

Join Date:
Sep 2008
Posts:
31
Plugin Contributions:
0

Admin account would not work

Hey guys,

For some reason i no longer can log in to my zen admin site. it always says that my username or password is incorrect.

I've tried this solution " https://www.zen-cart.com/tutorials/index.php?article=2 " and it worked but i have an "admin profiles" script installed so the admin account that i'm creating through SQL has not rights to do anything.

Please help. thank you

12 Oct 2010, 1:12 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Admin account would not work

i have an "admin profiles"
I believe it adds 2 tables, maybe 3
Backuo those tables then delete them, normal permissions will return
Make your changes then restore the tables

12 Oct 2010, 8:25 AM
#3
ve39 avatar

ve39

New Zenner

Join Date:
Sep 2008
Posts:
31
Plugin Contributions:
0

Re: Admin account would not work

can you tell me what tables to delete ? what would they be called ? and where will i find them ?

THanks

12 Oct 2010, 4:31 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Admin account would not work

i have an "admin profiles" script installed

can you tell me what tables to delete ?
This is 3rd party so you will have to determine what was installed

12 Oct 2010, 4:51 PM
#5
ve39 avatar

ve39

New Zenner

Join Date:
Sep 2008
Posts:
31
Plugin Contributions:
0

Re: Admin account would not work

is there an easier way? like resetting a password for already existing account through SQL by modifying this script ?

DELETE FROM admin WHERE admin_name = 'Admin';
INSERT INTO admin (admin_name, admin_email, admin_pass, admin_level)
VALUES ('Admin', 'admin@localhost', '351683ea4e19efe34874b501fdbf9792:9b', 1);

12 Oct 2010, 5:24 PM
#6
ve39 avatar

ve39

New Zenner

Join Date:
Sep 2008
Posts:
31
Plugin Contributions:
0

Re: Admin account would not work

I figured it out. went into phpMyAdmin and changed password on one of the accounts to 351683ea4e19efe34874b501fdbf9792:9b

Well i was hacked, when i went into an admin section in SQL there was 12 admin accounts and i only had 2 also my account was renamed with different username and email. how i know it was my account is because it was id # 1

website was not touched in anyway i guess they were looking for CC info. but then again part of the cc number is email so they could not get much.

any ideas on how they could of get in ? ? ?

12 Oct 2010, 5:55 PM
#7
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Admin account would not work

any ideas on how they could of get in ? ? ?
What version are you using?

i guess they were looking for CC info. but then again part of the cc number is email so they could not get much.
Check to who the cc module is now set to email to

12 Oct 2010, 7:06 PM
#8
ve39 avatar

ve39

New Zenner

Join Date:
Sep 2008
Posts:
31
Plugin Contributions:
0

Re: Admin account would not work

I use 38b

they did not change CC email.

I have a filling that the admin profiles script somehow saved me here.

12 Oct 2010, 7:12 PM
#9
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Admin account would not work

they did not change CC email.
Usually changed for a time and then back hoping you do not notice

Just consider that you have been hacked and do ALL the steps and upgrade - - No short cuts
http://www.zen-cart.com/wiki/index.php/Recovering_From_Hacks

9 Nov 2010, 5:56 PM
#10
ve39 avatar

ve39

New Zenner

Join Date:
Sep 2008
Posts:
31
Plugin Contributions:
0

Re: Admin account would not work

I'm tiered of this, my account is getting hacked every 3 days.

I've done everything, including changing my SQL username and password.

I'm not ready to move from 1.38b

Could any one please let me know where admin account lays so i can just make this file read only so even i can't change username and password

9 Nov 2010, 6:58 PM
#11
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Admin account would not work

Have you added the security patches that have been available since about July??

9 Nov 2010, 7:18 PM
#12
3601965 avatar

3601965

New Zenner

Join Date:
Jul 2010
Location:
UK
Posts:
29
Plugin Contributions:
0

Re: Admin account would not work

not sure if this will help but try installing this addon
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=1030

it will show you if they login and what they are looking at or altering, if they have a fixed ip this is also logged it may help,

make sure you have all security patches installed.

i would change your password for your control panel and change the email also, also make sure there are no email forwarders set up in your control panel.

check your ftp accounts too.