Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 353078 (CVE-2011-0011) - app-emulation/qemu-kvm: setting VNC password to empty string silently disables all authentication (CVE-2011-0011)
Summary: app-emulation/qemu-kvm: setting VNC password to empty string silently disable...
Status: RESOLVED INVALID
Alias: CVE-2011-0011
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Security
URL: https://bugzilla.redhat.com/show_bug....
Whiteboard: B4 [ebuild]
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-28 18:20 UTC by Paweł Hajdan, Jr. (RETIRED)
Modified: 2012-06-27 22:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-01-28 18:20:59 UTC
Description of problem:
The semantics of the ',password' option to -vnc are that it enables the VNC
auth scheme. If the VNC server password is unset or empty string, all attempts
to authenticate with the server will be explicitly blocked.

This allows applications to enable and selectively allow access for a period of
time, before clearing the password again to prevent further access.

See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=611134
https://bugzilla.redhat.com/show_bug.cgi?id=668589
Comment 1 Stefan Behte (RETIRED) gentoo-dev Security 2011-02-01 13:06:54 UTC
As far as I understand it, an empty password means no authentication.

See explanation here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=611134#10
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2011-02-01 21:06:27 UTC
No. An empty password means no(In reply to comment #1)
> As far as I understand it, an empty password means no authentication.
> 
> See explanation here:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=611134#10
> 

Incorrect. You're grabbing the opinion of some person commenting on a Debian bug. The actual documentation reads as follows:

# The default VNC password. Only 8 letters are significant for
# VNC passwords. This parameter is only used if the per-domain
# XML config does not already provide a password. To allow
# access without passwords, leave this commented out. An empty
# string will still enable passwords, but be rejected by QEMU
# effectively preventing any use of VNC.
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2011-05-27 23:18:33 UTC
This was determined to not be an error at all but in fact a misunderstanding of how VNC authentication worked. A blank password is meant to remove authentication and that's how applications that use qemu-kvm expect it to behave.
Comment 4 GLSAMaker/CVETool Bot gentoo-dev 2012-06-27 22:28:50 UTC
CVE-2011-0011 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2011-0011):
  qemu-kvm before 0.11.0 disables VNC authentication when the password is
  cleared, which allows remote attackers to bypass authentication and
  establish VNC sessions.