Vulnerability in Citrix XenServer Could Result in Information Disclosure
落ち着かないHVMの話。
パッチも出てたので更新しておきました。
XenServer6.2 SP1 のパッチリスト (2015/8/20 時点)XenServer 6.2 (clearwater) と XenServer 6.5 (Creedence) を中心に雑な感じで書いていきます。といいながら、すでにXenServer8がリリースされている・・・
xe vm-param-list uuid=***************で確認したら、
PV-bootloader ( RW): eliloader
xe vm-param-set uuid=*************** PV-bootloader=pygrubで無事に起動。
This reduces the VM downtime (when both old and new domains are paused) in 0.3s
for each VIF connected to the VM.
xe patch-upload file-name=XS56ESP2001.xsupdate > XS56SP2-PATCH-UUID
xe patch-upload file-name=XS56ESP2003.xsupdate >> XS56SP2-PATCH-UUID
xe patch-upload file-name=XS56ESP2011.xsupdate >> XS56SP2-PATCH-UUID
xe patch-upload file-name=XS56ESP2023.xsupdate >> XS56SP2-PATCH-UUID
xe patch-upload file-name=XS56ESP2025.xsupdate >> XS56SP2-PATCH-UUID
xe patch-upload file-name=XS56ESP2034.xsupdate >> XS56SP2-PATCH-UUID
for PATCHID in `cat XS56SP2-PATCH-UUID`
do
echo "HOST: ${HOSTUUID} / PATCH: ${PATCHID}"
xe patch-apply host-uuid=${HOSTUUID} uuid=${PATCHID}
done
Try something like (on 6.5 and later)
$ xe vdi-export uuid=… filename=foo.vhd format=vhd ?progress
XenServer 6.5 do not load soft raid kernel modules on boot. (See comments by Roland Monday on this article).
My solution is:
1. Create file /etc/sysconfig/modules/raid.modules with needed modules
# echo "modprobe raid1" > /etc/sysconfig/modules/raid.modules
you can add lines for another raid level (raid0 or raid10 for example)
2. Make this file executable
# chmod +x /etc/sysconfig/modules/raid.modules
3. Reboot.
PS: I do not know will this changes survive after installing patches
Citrix XenServer: Analysis into the impact of this issue on XenServer is in progress. XenServer does include a vulnerable version of glibc but at present there is no known route by which a guest virtual machine would be able to invoke the vulnerable functionality through the hypervisor interface. Analysis of this is still in progress and this section will be updated when additional information is available.
最後に、この脆弱性が対象とする関数「gethostbyname*()」はすでに古いものとなっています。これらの関数は IPv6アドレスに対応していないため、多くの新しいアプリケーションでは、この脆弱な関数「gethostbyname*()」ではなく、IPv6 をサポートする関数「getaddrinfo()」を使用しているものと考えられます。
以上を考慮すると、「GHOST」を狙った実際の攻撃による危険性は、「Shellshock」や「Heartbleed」などの脆弱性と比較すると低いものになっています。
apache, cups, dovecot, gnupg, isc-dhcp, lighttpd, mariadb/mysql,
nfs-utils, nginx, nodejs, openldap, openssh, postfix, proftpd,
pure-ftpd, rsyslog, samba, sendmail, sysklogd, syslog-ng, tcp_wrappers,
vsftpd, xinetd.
This hotfix also includes the following previously released hotfixes:
CTX140052 - Hotfix XS62E014 - For XenServer 6.2.0
CTX140051 - Hotfix XS62ESP1002 - For XenServer 6.2.0 Service Pack 1
CTX140417 - Hotfix XS62ESP1004 - For XenServer 6.2.0 Service Pack 1
CTX141036 - Hotfix XS62ESP1008 - For XenServer 6.2.0 Service Pack 1
CTX141472 - Hotfix XS62ESP1011 - For XenServer 6.2.0 Service Pack 1
CTX141480 - Hotfix XS62ESP1013 - For XenServer 6.2.0 Service Pack 1
CVE-2014-7155 (High): Missing privilege level checks in x86 HLT, LGDT, LIDT, and LMSW
CVE-2014-7156 (Medium): Missing privilege level checks in x86 emulation of software interrupts
CVE-2014-7188 (High): Improper MSR range used for x2APIC emulation
The option Restore Virtual Machine Metadata in xsconsole fails to restore VDIs on the storage repositories (SRs). VDIs are restored if the SRs contain the backup of the pool metadata.
When Linux bridge is used as the network stack, generic receive offload (GRO) does not always work on VLANs.