LxCenter HyperVM & Kloxo Support

Forum



Members   Search      Help    Register    Login    Home
Home » Archive » HyperVM Feature Requests » option to NOT store VPS root passwords
option to NOT store VPS root passwords [message #59834] Mon, 16 March 2009 04:35 Go to next message
seany is currently offline seany  United Kingdom
Messages: 55
Registered: August 2007
Valuable Member
Hello,

Currently all VPS root passwords are stored in plaintext:

echo "select nname,rootpassword from vps" | hypervmdb

Now I know this functionality probably exists for VPS rebuilds and so on, but can you not provide options for working around this either by:



  • Prompting for new root password on VPS reload
  • Read hashed root password from the VPS filesystem and restore it on the new one when completed (is this possible?)


It would be great to have this optional as a setting somewhere.

If you are not willing to do this, could you at least let us know what other functions require the root password to be stored? This way I can manually null the values via crontab every X hours or something...

Thanks!
Re: option to NOT store VPS root passwords [message #59835 is a reply to message #59834] Mon, 16 March 2009 04:37 Go to previous messageGo to next message
Lxhelp
Messages: 23691
Registered: July 2006
The Champion
It will be encrypted with the next version.

But ideally, it is meant for the vps owner to see what his password is.


On Mon, Mar 16, 2009 at 08:35:45AM -0000, Sean McRobbie wrote:
>
>
> Hello,
>
> Currently all VPS root passwords are stored in plaintext:
>
> echo "select nname,rootpassword from vps" | hypervmdb
>
> Now I know this functionality probably exists for VPS rebuilds and so on, but can you not provide options for working around this either by:


Re: option to NOT store VPS root passwords [message #59836 is a reply to message #59834] Mon, 16 March 2009 04:41 Go to previous messageGo to next message
seany is currently offline seany  United Kingdom
Messages: 55
Registered: August 2007
Valuable Member
It is ideal if they want to view it, but if they can simply reset it like you already provide, isn't that the safer option?
Re: option to NOT store VPS root passwords [message #63976 is a reply to message #59834] Mon, 11 May 2009 07:45 Go to previous messageGo to next message
seany is currently offline seany  United Kingdom
Messages: 55
Registered: August 2007
Valuable Member
Hello,

Any word on this yet?

Can I safely null this value without breaking anything other than OS reloads?

I do not want the fields to be encrypted -- that is useless since it can be decrypted.

This is a huge security concern!
Re: option to NOT store VPS root passwords [message #63977 is a reply to message #63976] Mon, 11 May 2009 05:12 Go to previous messageGo to next message
lxbhargava is currently offline lxbhargava  
Messages: 597
Registered: May 2009
Master
A vps can be accessed from the node any way. So as such hyperVM storing the password is not going to make a difference.



On Mon, May 11, 2009 at 11:45:52AM -0000, Sean McRobbie wrote:
>
>
> Hello,
>
> Any word on this yet?
>
> Can I safely null this value without breaking anything other than OS reloads?
>
> I do not want the fields to be encrypted -- that is useless since it can be decrypted.
>
> This is a huge security concern!
>




Thanks and Regards

S Bhargava
Lxlabs Support
Re: option to NOT store VPS root passwords [message #63978 is a reply to message #59834] Mon, 11 May 2009 07:53 Go to previous messageGo to next message
seany is currently offline seany  United Kingdom
Messages: 55
Registered: August 2007
Valuable Member
You completely miss the issue.

An example:

Inexperienced user A has root password set to "abc123"
Inexperienced user A has their hotmail password also set to "abc123"
Inexperienced user A has their e-mail address stored within HyperVM
Inexperienced user A has their paypal address registered to this e-mail

Bingo... you now have access to their paypal.

I'm sure you can think of an example where this happened recently...
Re: option to NOT store VPS root passwords [message #63979 is a reply to message #63978] Mon, 11 May 2009 05:24 Go to previous messageGo to next message
lxbhargava is currently offline lxbhargava  
Messages: 597
Registered: May 2009
Master
That's why the password is clearly visible for the person to see.

The problem happens when the password is STORED unencrypted.

The root password in a vps on the node is not a protection.




On Mon, May 11, 2009 at 11:53:58AM -0000, Sean McRobbie wrote:
>
>
> You completely miss the issue.
>
> An example:
>
> Inexperienced user A has root password set to "abc123"
> Inexperienced user A has their hotmail password also set to "abc123"
> Inexperienced user A has their e-mail address stored within HyperVM
> Inexperienced user A has their paypal address registered to this e-mail
>
> Bingo... you now have access to their paypal.
>
> I'm sure you can think of an example where this happened recently...
>




Thanks and Regards

S Bhargava
Lxlabs Support
Re: option to NOT store VPS root passwords [message #63980 is a reply to message #59834] Mon, 11 May 2009 08:06 Go to previous messageGo to next message
seany is currently offline seany  United Kingdom
Messages: 55
Registered: August 2007
Valuable Member
What are you talking about? The password *IS* stored unencrypted, that is my point!

Quote:
The root password in a vps on the node is not a protection.
??? I do not see the relevance, maybe you haven't read my post? Please read it
Re: option to NOT store VPS root passwords [message #63988 is a reply to message #63980] Mon, 11 May 2009 08:32 Go to previous messageGo to next message
Lxhelp
Messages: 23691
Registered: July 2006
The Champion
But it is visible to the client, and so it is EVIDENT to him that it is not meant to a secret.

Anyway, I will see if I can encrypt the value.


On Mon, May 11, 2009 at 12:06:05PM -0000, Sean McRobbie wrote:
>
>
> What are you talking about? The password *IS* stored unencrypted, that is my point!
>
> Quote:
> > The root password in a vps on the node is not a protection.
> ??? I do not see the relevance, maybe you haven't read my post? Please read it
>


Re: option to NOT store VPS root passwords [message #63999 is a reply to message #59834] Mon, 11 May 2009 09:19 Go to previous messageGo to next message
seany is currently offline seany  United Kingdom
Messages: 55
Registered: August 2007
Valuable Member
Hello,

The client does not know this at all unless they click on the "Root Password" button. Additionally, they would not even know if this is two-way encrypted or not.

Two way encryption is not really an option at all - of course it can be decrypted easily. Even one way encryption can be pretty bad (rainbow tables). The best option is that I described in my first post.

My original question is, if I manually crontab a script to rewrite these values to something random, would the only thing it breaks be reloading VPS images?
Re: option to NOT store VPS root passwords [message #64002 is a reply to message #63999] Mon, 11 May 2009 09:23 Go to previous messageGo to next message
Lxhelp
Messages: 23691
Registered: July 2006
The Champion
Yes, it will break the vps system. Anyway, I will add an encryption for the password.


On Mon, May 11, 2009 at 01:19:54PM -0000, Sean McRobbie wrote:
>
>
> Hello,
>
> The client does not know this at all unless they click on the "Root Password" button. Additionally, they would not even know if this is two-way encrypted or not.
>
> Two way encryption is not really an option at all - of course it can be decrypted easily. Even one way encryption can be pretty bad (rainbow tables). The best option is that I described in my first post.
>
> My original question is, if I manually crontab a script to rewrite these values to something random, would the only thing it breaks be reloading VPS images?
>


Re: option to NOT store VPS root passwords [message #64007 is a reply to message #59834] Mon, 11 May 2009 09:34 Go to previous messageGo to next message
seany is currently offline seany  United Kingdom
Messages: 55
Registered: August 2007
Valuable Member
So when someone compromises my HyperVM install, All my customers have their hotmail/gmail/paypal accounts etc stolen because they are able to read the root passwords?
Re: option to NOT store VPS root passwords [message #64009 is a reply to message #64007] Mon, 11 May 2009 09:37 Go to previous messageGo to next message
Lxhelp
Messages: 23691
Registered: July 2006
The Champion
If the node gets compromised, then the vpses will be completely accessible to the intruder.


On Mon, May 11, 2009 at 01:34:12PM -0000, Sean McRobbie wrote:
>
>
> So when someone compromises my HyperVM install, All my customers have their hotmail/gmail/paypal accounts etc stolen because they are able to read the root passwords?
>


Re: option to NOT store VPS root passwords [message #64014 is a reply to message #59834] Mon, 11 May 2009 09:42 Go to previous messageGo to next message
seany is currently offline seany  United Kingdom
Messages: 55
Registered: August 2007
Valuable Member
Yes, I know this.

But in this sitution you would not normally also be giving away access to their hotmail/gmail/paypal etc.

Also, who is to say my customers can trust me being able to see their root passwords?
Re: option to NOT store VPS root passwords [message #64023 is a reply to message #64014] Mon, 11 May 2009 09:57 Go to previous messageGo to next message
anneominous is currently offline anneominous  United Kingdom
Messages: 1
Registered: May 2009
Member
I think the biggest issue here is that while encrypting the password prevents casual crackers from noting down the password, determined crackers will be able to trivially reverse the encryption.

Simple solution is to not store the password on the host node at all.

Hash + Salt is the only way to go.

Not long ago, a very large Web Hosting based forum was hacked and passwords and details were stolen because the admins had stored the passwords. This leaves people potentially open to being sued because they're responsible for storing those passwords.

A lot of countries around the world make those that store their users data, responsible for it and if they leak that information (accidental or otherwise) there are fines of up to £5000!

Now that you know this is an issue with legal ramifications in countries like the UK and US, any action you now take will need to take that into consideration.

Anne
Re: option to NOT store VPS root passwords [message #64037 is a reply to message #59834] Mon, 11 May 2009 11:40 Go to previous messageGo to next message
WebDev42 is currently offline WebDev42  Australia
Messages: 1
Registered: May 2009
Location: Here
Member
I agree with Anne (above) and seany. Anne is correct about countries getting much tougher on product security, especially of personal and private information.

As a security consultant and web developer, I cannot, in good faith, use a product that would endanger my clients privacy and information unreasonably.

Having an option to require user to enter password is a step in the right direction, but I think better security would be required. Especially if HyperVM is to be a serious contender in the eCommerce market, a very large and growing market.

Security should never be an option or after thought. It should be the primary concern of a developer.

Just my opinion, of course. Smile
Re: option to NOT store VPS root passwords [message #65325 is a reply to message #64014] Wed, 20 May 2009 02:36 Go to previous messageGo to next message
dj-m  United States
Messages: 88
Registered: May 2009
Valuable Member
seany wrote on Mon, 11 May 2009 06:42
Yes, I know this.

But in this sitution you would not normally also be giving away access to their hotmail/gmail/paypal etc.

Also, who is to say my customers can trust me being able to see their root passwords?


the text display of the password within hypervm is moot. If its stored in the DB encrypted then great, it should be.

You could go over to cpanel.net and have this same conversation with them about the SQL root password in plain text, ftp backup server password in plain text, etc...

The bottom line is that if an intruder gets so far as to be able to see the root password- they already have access to everything. And if your client has the same password for a server, paypal, and everything else- they deserve whats coming. Let me guess, the password is "iamgod" right? Laughing
Re: option to NOT store VPS root passwords [message #65327 is a reply to message #65325] Wed, 20 May 2009 02:40 Go to previous messageGo to next message
seany is currently offline seany  United Kingdom
Messages: 55
Registered: August 2007
Valuable Member
dj-m wrote on Wed, 20 May 2009 02:36
seany wrote on Mon, 11 May 2009 06:42
Yes, I know this.

But in this sitution you would not normally also be giving away access to their hotmail/gmail/paypal etc.

Also, who is to say my customers can trust me being able to see their root passwords?


the text display of the password within hypervm is moot. If its stored in the DB encrypted then great, it should be.

You could go over to cpanel.net and have this same conversation with them about the SQL root password in plain text, ftp backup server password in plain text, etc...

The bottom line is that if an intruder gets so far as to be able to see the root password- they already have access to everything. And if your client has the same password for a server, paypal, and everything else- they deserve whats coming. Let me guess, the password is "iamgod" right? Laughing

Again you are missing the point.

The problem is we are not able to educate clients on this.

The password does not actually need to be stored - the fact that it is and if it is ever leaked can lead to *us* being held liable and sued.
Re: option to NOT store VPS root passwords [message #65329 is a reply to message #59834] Wed, 20 May 2009 02:43 Go to previous messageGo to next message
dj-m  United States
Messages: 88
Registered: May 2009
Valuable Member
Then you have a real problem with your terms of service and limitation of liability Smile

There is no point missed. I don't know what I would have ever done, I guess I wouldn't be here now, if I couldn't get my servers root password from "theplanet"'s portal Laughing

good luck
Re: option to NOT store VPS root passwords [message #65331 is a reply to message #65329] Wed, 20 May 2009 02:51 Go to previous messageGo to next message
seany is currently offline seany  United Kingdom
Messages: 55
Registered: August 2007
Valuable Member
dj-m wrote on Wed, 20 May 2009 02:43
Then you have a real problem with your terms of service and limitation of liability Smile

There is no point missed. I don't know what I would have ever done, I guess I wouldn't be here now, if I couldn't get my servers root password from "theplanet"'s portal Laughing

good luck

Why do you need to "get" it? You can reset it.
Re: option to NOT store VPS root passwords [message #65332 is a reply to message #65331] Wed, 20 May 2009 02:58 Go to previous messageGo to next message
dj-m  United States
Messages: 88
Registered: May 2009
Valuable Member
Stew on this for a moment...

If an attacker got in to your clients hypervm administration panel, even if the password was hidden or not displayed or anything else...all the attacker needs to do is issue a change pass for root from the command prompt just a couple boxes north of the root password box. At that point they're still in the machine. Presumably if a user is stupid enough to use the same password for everything- the attacker will still get the password from something on the VM.

The only possible security issue here that you can in any way secure, is to either stop hosting- or make sure that the password is stored encrypted in the database so that when you backup your master to a remote server using ftp (if you do it over a public network which you shouldn't) it cannot be intercepted and all passwords read.

Either way, with the "quickness" of new hypervm features...good luck with getting this one your way Smile
Re: option to NOT store VPS root passwords [message #65333 is a reply to message #65332] Wed, 20 May 2009 03:13 Go to previous messageGo to next message
seany is currently offline seany  United Kingdom
Messages: 55
Registered: August 2007
Valuable Member
dj-m wrote on Wed, 20 May 2009 02:58
Stew on this for a moment...

If an attacker got in to your clients hypervm administration panel, even if the password was hidden or not displayed or anything else...all the attacker needs to do is issue a change pass for root from the command prompt just a couple boxes north of the root password box. At that point they're still in the machine. Presumably if a user is stupid enough to use the same password for everything- the attacker will still get the password from something on the VM.

Sigh.... again it appears you do not understand the problem at all.

What do you not understand about having passwords stored in cleartext?

As soon as a bad exploit for HyperVM is out, everyone out there will be able to dump ALL root passwords along with IP addresses directly and without trouble. As you can imagine, this causes HUGE problems.

It now no longer matters if they gained access or not - they now have direct root passwords few thousand compromised accounts even if the problem has been fixed.

dj-m wrote on Wed, 20 May 2009 02:58
The only possible security issue here that you can in any way secure, is to either stop hosting- or make sure that the password is stored encrypted in the database so that when you backup your master to a remote server using ftp (if you do it over a public network which you shouldn't) it cannot be intercepted and all passwords read.

Right, so when I run a vanilla Xen server, things are also not secure? We do not store a copy of our root password, in plain text, in domU config files -- problem solved.

dj-m wrote on Wed, 20 May 2009 02:58

Either way, with the "quickness" of new hypervm features...good luck with getting this one your way Smile

If LxLabs/HyperVM cannot listen to their customers, how can they expect to maintain market share?
Re: option to NOT store VPS root passwords [message #65334 is a reply to message #65333] Wed, 20 May 2009 03:27 Go to previous messageGo to next message
dj-m  United States
Messages: 88
Registered: May 2009
Valuable Member
You could ask the same question of cpanel, whom has a larger market share, and also shows passwords in plain text. Or any datacenter that resells servers and shows the root password in plain text in their portal (which is all that I've used).

The bottom line is that once someone is in that far- you've already lost. The password of a VM in plain text is the least of my concerns at that point.

I think you would be miles ahead (cough, I don't give a crap about this feature request, I find it amusing however with how moot the plain text password is once an attacker already has control), offering suggestions for security to ensure _your_ worste nightmare of someone seeing the root password (never mind that the attacker have full control with or without it already!) doesn't happen.

good luck!
Re: option to NOT store VPS root passwords [message #65336 is a reply to message #65334] Wed, 20 May 2009 03:30 Go to previous messageGo to next message
seany is currently offline seany  United Kingdom
Messages: 55
Registered: August 2007
Valuable Member
dj-m wrote on Wed, 20 May 2009 03:27
You could ask the same question of cpanel, whom has a larger market share, and also shows passwords in plain text. Or any datacenter that resells servers and shows the root password in plain text in their portal (which is all that I've used).

The bottom line is that once someone is in that far- you've already lost. The password of a VM in plain text is the least of my concerns at that point.

I think you would be miles ahead (cough, I don't give a crap about this feature request, I find it amusing however with how moot the plain text password is once an attacker already has control), offering suggestions for security to ensure _your_ worste nightmare of someone seeing the root password (never mind that the attacker have full control with or without it already!) doesn't happen.

good luck!

Good luck to you and your plaintext passwords, rather.
Re: option to NOT store VPS root passwords [message #65337 is a reply to message #65336] Wed, 20 May 2009 03:49 Go to previous messageGo to next message
dj-m  United States
Messages: 88
Registered: May 2009
Valuable Member
seany wrote on Wed, 20 May 2009 00:30

Good luck to you and your plaintext passwords, rather.

Thank you, I don't have a single concern about it in hypervm in the client interface. Like I said, at the point where that is a concern- you've already lost and so has your customer. Its moot.

But I completely agree that the hypervm database needs to immediately be encrypting the passwords instead of storing them in plain text. This is indeed a security issue for anyone who uses "Config Self Backup" for the master and uses a public FTP server for backup, or a server where security may be in question, of if an attacker gains access to the admin.

Of course, I thought that was the point of this post. So either you we were agreeing with eachother and you didn't know it, or your original post isn't what you meant.

[Updated on: Wed, 20 May 2009 03:50]

Report message to a moderator

Re: option to NOT store VPS root passwords [message #65339 is a reply to message #65337] Wed, 20 May 2009 03:52 Go to previous messageGo to next message
seany is currently offline seany  United Kingdom
Messages: 55
Registered: August 2007
Valuable Member
dj-m wrote on Wed, 20 May 2009 03:49
seany wrote on Wed, 20 May 2009 00:30

Good luck to you and your plaintext passwords, rather.

Thank you, I don't have a single concern about it in hypervm in the client interface. Like I said, at the point where that is a concern- you've already lost and so has your customer. Its moot.

But I completely agree that the hypervm database needs to immediately be encrypting the passwords instead of storing them in plain text. This is indeed a security issue for anyone who uses "Config Self Backup" for the master and uses a public FTP server for backup, or a server where security may be in question, of if an attacker gains access to the admin.

Of course, I thought that was the point of this post. So either you we were agreeing with eachother and you didn't know it, or your original post isn't what you meant.

Yes and no - but effectively yes.

"Encrypting" it won't solve anything. My solutions however will.
Re: option to NOT store VPS root passwords [message #67445 is a reply to message #59834] Mon, 08 June 2009 20:43 Go to previous message
seany is currently offline seany  United Kingdom
Messages: 55
Registered: August 2007
Valuable Member
So now that it has been proven your systems are insecure, are you going to take this issue here seriously or are you going to abandon all your customers?
Previous Topic:Command Date
Next Topic:Suggestions
Goto Forum:
  


Current Time: Wed Jun 19 06:23:43 EDT 2013

Total time taken to generate the page: 0.01561 seconds
.:: Contact :: Home :: Privacy ::.

Click here to lend your support to: LxCenter and make a donation at www.pledgie.com !

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software