Bug 230295 (CVE-2007-0998)
Summary: | CVE-2007-0998 HVM guest VNC server allows compromise of entire host OS by any VNC console user | ||||||
---|---|---|---|---|---|---|---|
Product: | [Other] Security Response | Reporter: | Daniel Berrangé <berrange> | ||||
Component: | vulnerability | Assignee: | Rik van Riel <riel> | ||||
Status: | CLOSED ERRATA | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | unspecified | CC: | security-response-team, xen-maint | ||||
Target Milestone: | --- | Keywords: | Security | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | RHSA-2007-0114 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-03-14 15:14:16 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Daniel Berrangé
2007-02-28 01:03:54 UTC
Created attachment 149043 [details]
Patch to remove QEMU monitor access from the VNC server
This patch removes access to the QEMU monitor via the VNC server. It does this
by removing the code which looks for the Ctrl+Alt+2 sequence, as well as extra
code for adapting certain keycodes under the monitor.
Some notes for anyone trying to reproduce the steps in comment #1 - It should actually be 'change hdc /etc/passwd' rather than 'change cdrom /etc/passwd' - Also make sure you have SELinux turned off - ordinarily SELinux will only allow you access to block devices or files in /var/lib/xen/images. NB even with SELinux on though, the guest could map the block device corresponding to the host's filesystem - Finally /etc/passwd was probably a bad choice because its a very small file and thus you can't get much (if any) useful data out in the guest - /root/install.log or some other multi-MB file is a better test in xen-3.0.3-25.0.1.el5 appears to be fixed on i386 with xen-3.0.3-25.0.1.el5 and kernel 2.6.18-8.1.1.el5xen ctrl-alt-2 appears to now be a noop. fixed similarly in x86_64 An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2007-0114.html |