Xen Security Issue Patched
An anonymous reader sends in word of a privilege escalation security issue identified in the open source Xen hypervisor. Xen has issued a hotfix and urged all users to install it. The problem was disclosed by Secunia last week. A user of a guest domain with root privileges could execute arbitrary commands in domain 0 via specially crafted entries in grub.conf when the guest system is booted.
Slashdot is for people that fear sex.
Smile, don't click...
I was browsing Slashdot while I sit here waiting for 20 minutes to copy a 17 meg file at my freelance gig in front of a Mac when I noticed it's Slashdot's 10th anniversary. So, I think it's equally important to celebrate ten years of successful Slashdot trolling.
For maximum effect I need to post this 3500 times and widen the page, but I won't because it takes too long and I'll be dead before it gets done. ARE YOU GAY? ARE YOU DEAD? Then you should join the BSD USERS GROUP!
I read this great book about trolling and you should buy it right away. Click on the link I conveniently provided. By the way Netcraft has confirmed that Dumbledore and Stephen King are dead. Snape killed them.
hot grits, natalie portman... at least she doesn't have smelly feet like some desktops I could name.
Thinking about your breathing... is it good, or is it whack? Only OOG can decide!
Think about your parents having hot sweaty sex next time you masturbate to a horsecock in space!
Why are vulnerabilities Slashdot-worthy? They happen almost daily, and are usually fixed quickly. This has was fixed in RHEL yesterday:
https://rhn.redhat.com/errata/RHSA-2007-0323.html
CentOS already carries this fix too.
What a braindead idea to put the bootloader OUTSIDE the VM. Whoever came up with that must have had no clue about the purpose of VMs, whatsoever. Grrr.
Time for someone to port Grub to run INSIDE a Xen VM.
Maybe now we won't get any more of those theoretical physicists lurking around now.
Xen and the art of powercycle maintenance.
Thank goodness this was fixed. No longer will we have to worry about bearded miscreants sneaking into Xen and shooting the place up!
This is a moderately scary security issue -- a few of these per year and the current virtualizing trend might start to unravel.
The XenSource code base (well, some of it at least) is Open. Its competitor, ESX from VMware, isn't. Philosophy aside, how has ESX been doing on the security front?
Apparently there you can get additional information and the patch from Xen here. Including a better explanation. AG
we were told that it was not possible to do a VM root kit...
Now that that pdf from both Xen and VMWare read like someone trying hard to sell a product is another thing.
I believe the bootloader only runs for a short while so maybe they can use emulation for running the bootloader stuff safely.
Then switch to "native" once you hit the kernel stuff etc.
Probably a lot more work tho.
A security issue fixed in the state of Zen?
That's amazing. Chalk another victory up for the pocket-protector crowd. Is there anything they can't do?
If you can read this, I forgot to post anonymously.
Looks like they are not too concerned with security either way:
Server Microsoft-IIS/6.0
X-Powered-By ASP.NET
Xen Security Issue Patched: The Black Mesa science team successfully closed the portal that was inadvertently opened this morning during the resonance cascade scenario.
Cool to see this on Slashdot. The guy who found the vulnerability is actually a customer of mine. I recently started a business in hosted Virtual Private Servers. Joris van Rantwijk, the bug reporter, was interested to become a customer and I said why don't you try it out for a few weeks?
/root directory ON MY PHYSICAL MACHINE (i.e. domain 0 in Xen speak) where I find a file describing the exploit...
As a plus point, I let them boot their own kernels (I trust my custommers). Next thing I know, he tells me to check my
Oh don't bother to check out my business' website, it's not translated yet in English... (I'm Dutch).
8 of 13 people found this answer helpful. Did you?
A paravirtualised domU does not need a boot loader and does not even have access to its own kernel. Which is nice because you can give it an unmodular kernel which is more secure in as much as a user on that domU cannot load their own (potentially exploiting) kernel modules.
/boot/grub/grub.conf in the domU filesystem?? Makes no sense at all.
Its only an HVM domU that would need a boot loader and its own kernel.
I've read through TFA and the Xen mailing list and I can't see anything that says whether this affects both paravirtualised *and* HVM or just one or the other...?
In the case of paravirtualised, why on earth would the creating the domU even *look* for a
In the free world the media isn't government run; the government is media run.
You're describing what I consider to be the right way to do things.
However some vendors shipping Xen *cough*redhat*cough* have this brain-dead idea that the VM should look exactly like a real machine, including bootloaders and all accompanying nastiness.
To that end, they created "pygrub", which expects the VM's disk image to have a boot sector, whereby it copies the kernel image and initrd to a temporary file, and then passes that to xen to start the domain (my guess is that this is where the exploit lies.)
A user of a guest domain with root privileges could execute arbitrary commands in domain 0 via specially crafted entries in grub.conf when the guest system is booted.
Seriously, guys, Star Trek:TNG is off the air. You can stop writing like this now.
There was an exploit
and then it was fixed
slow news day
"Beware of he who would deny you access to information, for in his heart he dreams himself your master."
PyGrub expects that the root device is partitioned and searches on partition 1 for the GRUB configuration. This is bad because it requires you to have a partition table which makes things inconvenient if you want to resize the disk space provided to the virtual machine.
/dev/vbda or /dev/hda etc) and I can easily resize any filesystem at any time by stopping the DomU, extending the LVM volume, and extending the filesystem.
I run my Xen DomU's with a single virtual disk per filesystem, no partition tables (the DomU mounts
This doesn't work with PyGrub, I could fix the bug but I haven't bothered - it's easier to just have the kernel and initrd stored outside the filesystem managed by the DomU.
This configuration makes it easier to manage (one kernel and initrd for multiple DomU's) and avoids security issues with PyGrub.
See http://etbe.coker.com.au/ for my blog.