#1 (permalink)  
Old 07-08-2009, 10:34 AM
dansgalaxy's Avatar
Registered User
 
Join Date: Jan 2007
Location: Swindon, UK
Posts: 53
dansgalaxy is on a distinguished road
Exclamation Old account passwords STILL WORK!

I have a client which is getting very frustrated, as his old passwords still work (as well as new).

I have spoken to the company responsible for my server license and ended up changing password from command line and that seemed to wipe out old passwords, but now hes changed the password to his own one the problem remains and all his old passwords still work.

This is a urgent security issue for the client as he gave access to someone to do something and is now unable to revoke it.

Any ideas as to why and how the hell this is happening?
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-08-2009, 11:54 AM
cPanelDavidG's Avatar
cPanel Technical Sales
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 7,995
cPanelDavidG is on a distinguished road
Quote:
Originally Posted by dansgalaxy View Post
I have a client which is getting very frustrated, as his old passwords still work (as well as new).

I have spoken to the company responsible for my server license and ended up changing password from command line and that seemed to wipe out old passwords, but now hes changed the password to his own one the problem remains and all his old passwords still work.

This is a urgent security issue for the client as he gave access to someone to do something and is now unable to revoke it.

Any ideas as to why and how the hell this is happening?
Can you provide me with detailed steps as to what the user is doing that is resulting in old passwords working? This will assist me in replicating this issue.
__________________
Want our technical analysts to login to your server to assist you? You can contact our technical analysts at: http://tickets.cPanel.net/submit
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-08-2009, 12:00 PM
dansgalaxy's Avatar
Registered User
 
Join Date: Jan 2007
Location: Swindon, UK
Posts: 53
dansgalaxy is on a distinguished road
Quote:
Originally Posted by cPanelDavidG View Post
Can you provide me with detailed steps as to what the user is doing that is resulting in old passwords working? This will assist me in replicating this issue.
Changing password..

He has changed password using WHMCS (which obv does changes via API module).

I have personally change his password via WHM using both the sub form on the list accounts and the dedicated account password change page.

They would enable the new passwords to work but the old passwords still work (currently he can use 3 passwords to login).

I spoke with support for where i get my server/cpanel from their solution was to change password from command line using /scripts/chpass they did this and i did this and it appeared to stop the old passwords working.

The client then changed the random gen password which i changed it to to his own... but apparently now the 3 passwords still work and allow login to the account.
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-08-2009, 12:23 PM
cPanelDavidG's Avatar
cPanel Technical Sales
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 7,995
cPanelDavidG is on a distinguished road
Quote:
Originally Posted by dansgalaxy View Post
Changing password..

He has changed password using WHMCS (which obv does changes via API module).

I have personally change his password via WHM using both the sub form on the list accounts and the dedicated account password change page.

They would enable the new passwords to work but the old passwords still work (currently he can use 3 passwords to login).

I spoke with support for where i get my server/cpanel from their solution was to change password from command line using /scripts/chpass they did this and i did this and it appeared to stop the old passwords working.

The client then changed the random gen password which i changed it to to his own... but apparently now the 3 passwords still work and allow login to the account.
I am unable to replicate this issue by using WHM's password modification feature.

Things to check for:
1. Is the customer closing their web browser after logging out? If you are using the default HTTP authentication, the user is logged in until they close their web browser.

2. When logging in as the customer with their password, do you ever see a message at the top indicating they're logged in as a reseller?

If the user is closing their browser and they aren't logging in with their username and a reseller's password (which can happen if a reseller has a weak or commonly used password), please submit a support ticket so we can see his happening on your server and determine the cause of this issue: http://tickets.cPanel.net/submit
__________________
Want our technical analysts to login to your server to assist you? You can contact our technical analysts at: http://tickets.cPanel.net/submit
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 07-08-2009, 12:39 PM
dansgalaxy's Avatar
Registered User
 
Join Date: Jan 2007
Location: Swindon, UK
Posts: 53
dansgalaxy is on a distinguished road
Quote:
Originally Posted by cPanelDavidG View Post
I am unable to replicate this issue by using WHM's password modification feature.

Things to check for:
1. Is the customer closing their web browser after logging out? If you are using the default HTTP authentication, the user is logged in until they close their web browser.

2. When logging in as the customer with their password, do you ever see a message at the top indicating they're logged in as a reseller?

If the user is closing their browser and they aren't logging in with their username and a reseller's password (which can happen if a reseller has a weak or commonly used password), please submit a support ticket so we can see his happening on your server and determine the cause of this issue: http://tickets.cPanel.net/submit
I thought could be password override too but it isnt, I'm root (and root pass is random gen and full strength and i know the users passwords... so thats not it.

I have just logged in and out (and closed the browser between each try) with 3 different passwords on the account. No override notices shown so im fully confident this isn't a user side issue.

Is it even possible for one account to have many same level (eg, not override by reseller/root) passwords?

EDIT: Just submitted a ticket, Request id is: 454218
__________________

Last edited by dansgalaxy; 07-08-2009 at 12:46 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 07-08-2009, 01:47 PM
Registered User
 
Join Date: Jul 2007
Posts: 40
InterServed is on a distinguished road
Hint: If you are using raid and one or more hdd's crashed -> system will turn them as read-only (happens on vps'es mostly from what i seen in the past).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 07-08-2009, 01:53 PM
dansgalaxy's Avatar
Registered User
 
Join Date: Jan 2007
Location: Swindon, UK
Posts: 53
dansgalaxy is on a distinguished road
Quote:
Originally Posted by InterServed View Post
Hint: If you are using raid and one or more hdd's crashed -> system will turn them as read-only (happens on vps'es mostly from what i seen in the past).
Not sure how that relates to the issue?
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 07-08-2009, 09:09 PM
Spiral's Avatar
Registered User
 
Join Date: Jun 2005
Location: Area 51
Posts: 1,501
Spiral is on a distinguished road
Lightbulb

MySQL, Mail, and FTP would be one thing but am I correct in assuming
you are talking about Cpanel / WHM / SSH passwords?

For the later, the passwords are related to the server so it doesn't make
any sense that a changed password would still work unless an open session
were carried forward perhaps (See files in /tmp) or a new account were
created but then that would have a new login.

Does the user have duplicate entries in /etc/passwd?

(/etc/shadow .... same question)

Interserved may have made that side RAID comment thinking that perhaps
your user account files weren't getting updated but if that were the case
then the new passwords would not work and logins would only work with
the original unchanged passwords.

I don't know, it is is as you say, there is something definitely really screwy
going on with your server that does not make any logically sense without
seeing things and digging into it first hand.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 07-09-2009, 06:25 AM
dansgalaxy's Avatar
Registered User
 
Join Date: Jan 2007
Location: Swindon, UK
Posts: 53
dansgalaxy is on a distinguished road
Right ok...

Was on support ticket all yesterday with cPanel... think got it fixed.

It appears that some how the password algo for the server was changed from Md5 to DES so some passwords saved as md5 (presumably those which havent been changed in a while/since algo change)

So I was instructed to change algo via command line and re-changed the users password so saved as md5.

It appears the problem was because DES only allows a set number of characters and anything extra is ignored so when my client changed his password to something he was just changing the last few chars meaning the first x letters were the same.

Now been corrected so hopefully wont have the issue again, was certainly a mind boggler. lol
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
All accounts suddenly jailshells and passwords dont work?? wzd cPanel and WHM Discussions 4 12-21-2007 01:29 PM
!!No Passwords Work for cPanel and WHM!! Steven_K cPanel and WHM Discussions 10 05-17-2005 12:21 PM
Cpanel passwords dont work aykfounder cPanel and WHM Discussions 5 03-07-2005 08:16 PM
after update unroutable domains and no passwords work? rockster cPanel and WHM Discussions 0 10-15-2003 11:50 AM
how to get account passwords ? Radio_Head cPanel and WHM Discussions 7 07-31-2002 08:48 AM


All times are GMT -5. The time now is 12:17 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc