Advertisement

URGENT: Super Administrator Username/Password not working

Discussion regarding Joomla! 1.5 security issues.
Joomla! Vulnerable Extensions: http://feeds.joomla.org/JoomlaSecurityV ... Extensions

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Security Checklist
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
cyndee
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Mon Feb 14, 2011 11:23 pm

URGENT: Super Administrator Username/Password not working

Post by cyndee » Sat Nov 12, 2011 5:01 am

Hi,

I urgently need assistance to have my website fixed. It is a Joomla v1.6 that I recently launched and was beeen working beautifully.

Yesterday, I discovered the site would not open and that the index.php was missing from my ftp hosting - which was very strange, as I did not remove nor does anyone have access to remove. I can only assume something has occurred with the Hosting provider or my site was hacked or there are corrupt files. I took a copy of another index.php file that I had saved and applied. This fixed my website so that it was now viewable on the web.

I then went to log into the backend Administrator and my username and password did not work. I then logged into the cPanel and view the php admin > user table and noticed that the only user account was Admin yet my username is not this. I then researched Joomla and found a documentation that gets you to run an SQL script that places a new username and password into your Joomla account to be able to temporarily access then change. I ran this fine, which seemed to work fine, but I am still unable to log into the backend of my website.

I desperate to get this resolved without losing my website and having to start again. If anyone can assist me, I would be happy to pay to get resolve it required.

Look forward to hearing any responses, if you could email me at cyndee@maximsolutions.com.au a price to fix and what you then need from me?

Thanks

Advertisement
User avatar
duyet
Joomla! Guru
Joomla! Guru
Posts: 935
Joined: Wed Sep 21, 2011 8:21 pm
Location: on earth
Contact:

Re: URGENT: Super Administrator Username/Password not workin

Post by duyet » Sat Nov 12, 2011 3:26 pm

I think you can add a new user with empty password using phpMyAdmin (users table). Then go to user_usergroup_map add a new entry using the id of added user and group id = 8 (super user).

Then go to the back-end login with that user, no password. Then go to Users -> User Manager and add a password for your new user

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 31840
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: URGENT: Super Administrator Username/Password not workin

Post by Per Yngve Berg » Sat Nov 12, 2011 4:00 pm


User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 45308
Joined: Sat Apr 05, 2008 9:58 pm

Re: URGENT: Super Administrator Username/Password not workin

Post by Webdongle » Sat Nov 12, 2011 4:08 pm

A few possibilities here
  1. You unpublished the jauthentication plugin
  2. You installed a 3rd party extension that handles Users and forgot to tell it Admin is SU
  3. You've been hacked
  4. Someone else with access mucked something up.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/migrat ... oomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

cyndee
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Mon Feb 14, 2011 11:23 pm

Re: URGENT: Super Administrator Username/Password not workin

Post by cyndee » Sat Nov 12, 2011 5:29 pm

No one else has access to the backend and I hadn't been in the backend of site for a couple days and all was fine then. What are my possible options to gain access again?

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 45308
Joined: Sat Apr 05, 2008 9:58 pm

Re: URGENT: Super Administrator Username/Password not workin

Post by Webdongle » Sat Nov 12, 2011 6:57 pm

cyndee wrote:...I hadn't been in the backend of site for a couple days and all was fine then. ...
It doesn't matter how long since you entered the admin of the site. Or that you logged in OK the last time. If the last time you were in there you installed a 3rd party user manager then once logged out it could prevent logging in again.

And the possibility of being Hacked is still open.

With phpMyAdmin search the database for 'authentication' and see if the jauthntication plugin is enabled. 1 = yes, 0(zero) = No.

It would be a good idea to run several antivirus/antimalware on your PC just in case.

Do you have a backup ?

What is the url of your site ?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/migrat ... oomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

cyndee
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Mon Feb 14, 2011 11:23 pm

Re: URGENT: Super Administrator Username/Password not workin

Post by cyndee » Mon Nov 14, 2011 3:40 am

Hi, I couldn't locate under phpMyAdmin using Search the Authentication to verify your question. I also checked and I use Norton 360 antivirus software which is up to-date and showing no issues. I do have a back up of the site and would be happy to revert back to this. I have never restored a backup and would appreciate the steps on doing this (if you have).

The URL is gosfordmechanic.com.au.

Please advise next steps. Once I gain access to the backend of the site again, I will be changing the password. Can you also advise if there are mechanism I should be doing to avoid getting my account hacked, ie is there a particular setting or plug that should be used to assist.

Thanks so much

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 31840
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: URGENT: Super Administrator Username/Password not workin

Post by Per Yngve Berg » Mon Nov 14, 2011 5:25 pm

Mod. Note: Move the topic to the Administration forum.

Look in the jos_extensions table after "401 plg_authentication_joomla plugin joomla authentication" and check that the enabled field is set to "1"

aapdesign
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Mon Nov 14, 2011 3:35 pm

Re: URGENT: Super Administrator Username/Password not workin

Post by aapdesign » Tue Nov 15, 2011 7:10 am


cyndee
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Mon Feb 14, 2011 11:23 pm

Re: URGENT: Super Administrator Username/Password not workin

Post by cyndee » Thu Nov 24, 2011 3:40 am

I have just checked that 401 plg_authentication_joomla plugin joomla authentication and it was enabled and set to 1.

After reviewing my cPanel, I can see that an email was created by someone that is not me for another domain that I have that is linked to the hosting plan. I have deleted this email and feel that I need to now change my hosting password.

I'm not sure if I should do this yet or still try and gain access to the back end of my website. Any further advice is appreciated.

cyndee
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Mon Feb 14, 2011 11:23 pm

Re: URGENT: Super Administrator Username/Password not workin

Post by cyndee » Thu Nov 24, 2011 3:51 am

I have also tried to do the steps that Duyet mentioned above. I can access the Users table but I cant for the next steps of locating the user_usergroup_map and adding a new entry. What I can do is copy the existing record (which is admin) and then changing the username and leaving password blank.

I tried to then login to the backend of the website and it's not working. I then went back to the user table and put a password in for the new user and this didn't work either.

It is like the backend login page just no longer works at all.

Any other ideas

User avatar
PhilD
Joomla! Hero
Joomla! Hero
Posts: 2737
Joined: Sat Oct 21, 2006 10:20 pm
Location: Wisconsin USA
Contact:

Re: URGENT: Super Administrator Username/Password not workin

Post by PhilD » Thu Nov 24, 2011 4:18 pm

http://docs.joomla.org/How_do_you_recov ... assword%3F
Is the document you want to use to recover an administrator password.

to check if the Authentication - Joomla plugin is enabled, open the table jos_plugins in phpMyadmin, look and see if Authentication - Joomla is published. There should be a 1 in the published column.

also your hosting password should be different from your Joomla admin password. Resetting one has no affect on the other.

If you think you have been hacked then use this post as a guide:
http://forum.joomla.org/viewtopic.php?f=621&t=582854
PhilD

murenti
Joomla! Intern
Joomla! Intern
Posts: 83
Joined: Sun Nov 13, 2011 3:27 am

Re: URGENT: Super Administrator Username/Password not workin

Post by murenti » Sun May 13, 2012 12:12 am

Hi I have also had the same issue with admin login. I was adding terms to the shop section of Virtuemart and when I clicked save I was logged out and I cannot log back in as an administrator.
I have followed the details from the previous post, ie I have tried to add a new user to my login and then add the details as shown below
"configuration.php file and add public $root_user='myname';
To do this I had to add another user by creating a new user from the home page first but when I did the following error shows "Fatal error: Call to a member function checkAnswer() on a non-object in /home/plpl7113/public_html/orderonline.net.au/libraries/cms/form/rule/captcha.php on line 47"
I checked the code within 'captcha.php' to see if anything obvious stood out but I could not see anything, and I also replaced this file with a good copy and the same error showed.
I have also tried adding a new admin to 'jos_users' as described below but the new user also does not login
http://docs.joomla.org/How_you_reset_an ... assword%3F

I would be very grateful for anyones help
my site url is orderonline.planetbiz.com.au and I am using Joomla 2.5.4

User avatar
PhilD
Joomla! Hero
Joomla! Hero
Posts: 2737
Joined: Sat Oct 21, 2006 10:20 pm
Location: Wisconsin USA
Contact:

Re: URGENT: Super Administrator Username/Password not workin

Post by PhilD » Sun May 13, 2012 1:23 am

"configuration.php file and add public $root_user='myname';
The configuration.php file does not contain any Joomla users or administrators The name you apparently changed is the database user name (and the associated database user password) and should not be changed or you loose connectivity to the database. Put any changes you made to the configuration.php file back tyhe way they were. Please review http://docs.joomla.org/How_do_you_recov ... assword%3F and make sure you are following the proper procedure for your Joomla version.

As a side note, if you were logged in working on the site and suddenly you can not log back in, then maybe you did something wrong. Also you can not create the proper user level for administration from the front end. You have to log in to the Joomla administrator area to do that.
PhilD

murenti
Joomla! Intern
Joomla! Intern
Posts: 83
Joined: Sun Nov 13, 2011 3:27 am

Re: URGENT: Super Administrator Username/Password not workin

Post by murenti » Sun May 13, 2012 1:32 am

Thanks for your suggestions, I havn't tried to access admin from a new non admin user. I followed the instruction from your earlier post http://docs.joomla.org/How_do_you_recov ... assword%3F where it says
"you can recover the password if you have access to your configuration.php file on your server. Open this file and add
public $root_user='myname';
to the list where myname is a username with administrator access that you know the password for.
This user will now be a temporary super administrator."

As there were no other users other than Admin before the error and before I tried the suggestion at http://docs.joomla.org/How_do_you_recov ... assword%3F I decided to try an add a new user from the front page as I couldnt think of any other way. But it didn't work as it threw the captchpa error.

When I looked in PHPmyadmin as detailed in the article at http://docs.joomla.org/How_you_reset_an ... assword%3F there was no admin user listed in 'jos_users' list. The only user was my cpanel login user and I havnt touched that at all, I created another user there as outlined from the article but it does not login.

I will relook at your article suggestion and let you know.
Thanks for your help

User avatar
PhilD
Joomla! Hero
Joomla! Hero
Posts: 2737
Joined: Sat Oct 21, 2006 10:20 pm
Location: Wisconsin USA
Contact:

Re: URGENT: Super Administrator Username/Password not workin

Post by PhilD » Sun May 13, 2012 1:44 am

Well, yep, it does say that. I or someone else with some time will need to review that for accuracy. You will need to know at least an administrator level username and password to do this though and I am not entirely positive it will even work. Unfortunately I don't have time tonight to do a test.

I would suggest at this point you use the appropriate mysql code to insert a new super user and password. You can then use this to login to the Joomla administrator area and then you can change things as necessary. Don't leave this temporary user as the name and password are publicly (it's in a public document) known. So change it to something else after you have restored proper access to your desired user name.
PhilD

murenti
Joomla! Intern
Joomla! Intern
Posts: 83
Joined: Sun Nov 13, 2011 3:27 am

Re: URGENT: Super Administrator Username/Password not workin

Post by murenti » Sun May 13, 2012 1:48 am

I think I will uninstall that version of Joomla and reinstal,

Thanks for you help

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 45308
Joined: Sat Apr 05, 2008 9:58 pm

Re: URGENT: Super Administrator Username/Password not workin

Post by Webdongle » Sun May 13, 2012 1:50 am

murenti wrote:... I followed the instruction from your earlier post http://docs.joomla.org/How_do_you_recov ... assword%3F where it ...
yoursite.com/administrator
redirects to
yoursite.com/oscommerce/administrator

Which is just as well, because everyone knows the user/pass for that SU
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/migrat ... oomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

murenti
Joomla! Intern
Joomla! Intern
Posts: 83
Joined: Sun Nov 13, 2011 3:27 am

Re: URGENT: Super Administrator Username/Password not workin

Post by murenti » Sun May 13, 2012 1:52 am

Its only a temporary password and if they can get in when I can't good luck to them.

murenti
Joomla! Intern
Joomla! Intern
Posts: 83
Joined: Sun Nov 13, 2011 3:27 am

Re: URGENT: Super Administrator Username/Password not workin

Post by murenti » Sun May 13, 2012 1:55 am

Thanks for you warning but I run 2 joomla's and 1 oscommerce from this site, they all have different admin logins, so that shouldn't be an issue. Unless you are suggesting that access to one will give access to all, are you?

murenti
Joomla! Intern
Joomla! Intern
Posts: 83
Joined: Sun Nov 13, 2011 3:27 am

Re: URGENT: Super Administrator Username/Password not workin

Post by murenti » Sun May 13, 2012 2:06 am

Thanks for your help, all the best for your exam, (What are you studying?) I have removed that Joomla to start again, um well here goes.

User avatar
PhilD
Joomla! Hero
Joomla! Hero
Posts: 2737
Joined: Sat Oct 21, 2006 10:20 pm
Location: Wisconsin USA
Contact:

Re: URGENT: Super Administrator Username/Password not workin

Post by PhilD » Tue May 15, 2012 6:44 pm

PhilD wrote:Well, yep, it does say that. I or someone else with some time will need to review that for accuracy. You will need to know at least an administrator level username and password to do this though and I am not entirely positive it will even work. Unfortunately I don't have time tonight to do a test.
The info in question is accurate and I have fleshed it out some so it is easier for those less technical to understand the process.
http://docs.joomla.org/How_do_you_recov ... assword%3F

When testing, the username used has to be at least a Joomla permission level of Author for the procedure to work. Also pay close attention to the permissions set on the configuration.php file. After editing this file from the Joomla administrator end, Joomla will set the permissions on the file to (444) read only. While this allows ftp to download the file (where you can use a text editor to edit it), it means you can not successfully replace the file on the server with the edited file. Failure on a file upload is not that noticeable in many FTP programs. You may think the file uploaded when in fact it did not. Pulling of hair is the usual result of this failure until it is discovered the edited version never uploaded.. :) The solution is to follow the directions and change the permissions to 644 on the configuration.php downloading the file and making the edits. Because the permissions are 644 you can overwrite the file upon upload successfully. No hair pulling.
PhilD

murenti
Joomla! Intern
Joomla! Intern
Posts: 83
Joined: Sun Nov 13, 2011 3:27 am

Re: URGENT: Super Administrator Username/Password not workin

Post by murenti » Tue May 15, 2012 11:13 pm

Thanks for taking the time to further investigate, it is much appreciated.

Advertisement

Locked

Return to “Security in Joomla! 1.5”