This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-users] XCP: Insecure Distro ?

To: riki <phobie@xxxxxxxx>
Subject: Re: [Xen-users] XCP: Insecure Distro ?
From: Adrien Guillon <aj.guillon@xxxxxxxxx>
Date: Mon, 9 May 2011 17:29:30 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 09 May 2011 14:30:52 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=OF1WRuhx1z8o+4vA/mKnWqwpvzJZ66DTIyE88b9tOCc=; b=tW3HSfMT4hbAsON/ynPrIc05VXJIpyKjTfuZc9YlMqL/uMKJiPNuaQaU7t8gaPh2ig lHlvNYxGgYggpV18ZEvtbYs/JJyqr2mnF2CEMWwhIM6qxubXmghMUMtwpRhk9r1rhlmx HPTbw+OS1UKUjX1NjMBE9ZPm6xQUQ34EbOidM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=PEiQG54jp2pV2qAV4rR3/vnnEyKuqkjguISZBLqqNZH5Ygs6Kf2GA/xDijlTu6a2ic dgHmp1T9qNwLEtr5l9v/w9CGuANFQRINi7aDVDhf2Hmblz4iGKyREJfJnyW1fvk1F/9d ayfj0zzfe7Qzi2gsLBkhGVGxT39g7P6I3pRCE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4DC85999.8020407@xxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <BANLkTinHQJ_eUtfk+4PQudpZX8ZpoEu1yg@xxxxxxxxxxxxxx> <4DC85999.8020407@xxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Security updates are common, and generally do not make major interface
changes by design.  I have no desire to update anything aside from
receiving fixes for buffer overflows, or other exploits that are found
in the wild.  The system in question should be in production for
several years, and security patches are inevitable during that period
of time.

It likely took some effort to eliminate /etc/shadow in the first
place, as this has been standard practice for a very long time.  I
will not debate the merits of storing hashes in /etc/passwd or
/etc/shadow because that debate ended a very long time ago.  Quite
simply this distro has a major security flaw.

On Mon, May 9, 2011 at 5:16 PM, riki <phobie@xxxxxxxx> wrote:
> Well, you are right from the multi-user point of view regarding the passwd
> file, but XCP is designed as appliance, xe utility or something speaking
> xapi is a way of interfacing it, no user other than root should access dom0.
> Updates - question of stability, i hope you do not want to risk reload of
> all your VM`s due to libc changes or something like that :).  You need to
> update what? Xen hypervisor? Openvswitch, xapi toolstack? Everything should
> be locked down on lower levels (network access to dom0, physical access to
> appliances).
> Try to change the point of view and stop looking at it as a standard
> multiuser linux enviroment.
> r.
> On 05/09/2011 10:41 PM, Adrien Guillon wrote:
>> Hello mailing list!
>> I have been working with XCP a little bit, and I have the impression
>> that this distro is insecure.  First, it does not look like update
>> repositories are enabled inside /etc/yum.repos.d, although I'm from an
>> apt background so I may be misinterpreting that.  Where will my
>> security updates come from?
>> Next, it appears that the root password hash is directly stored inside
>> /etc/passwd, which is set to world-readable!  There does not appear to
>> be an /etc/shadow file at all.
>> Unfortunately I am dropping the distro entirely due to security
>> concerns, I hope that these problems can be fixed.
>> AJ
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-users
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

Xen-users mailing list