CVE-2016-5008
published 2016-07-13CVE-2016-5008: libvirt before 2.0.0 improperly disables password checking when the password on a VNC server is set to an empty string, which allows remote attackers to bypass…
PriorityP261critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
EPSS
3.62%
88.2th percentile
libvirt before 2.0.0 improperly disables password checking when the password on a VNC server is set to an empty string, which allows remote attackers to bypass authentication and establish a VNC session by connecting to the server.
Affected
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | libvirt | < libvirt 2.0.0-1 (bookworm) | libvirt 2.0.0-1 (bookworm) |
| redhat | libvirt | <= 1.3.5 | — |
| redhat | libvirt | >= 0 < 2.0.0-1 | 2.0.0-1 |
| redhat | libvirt | >= 0 < 2.0.0-1 | 2.0.0-1 |
| redhat | libvirt | >= 0 < 2.0.0-1 | 2.0.0-1 |
| redhat | libvirt | >= 0 < 2.0.0-1 | 2.0.0-1 |
| redhat | libvirt | >= 0 < 1.2.2-0ubuntu13.1.26 | 1.2.2-0ubuntu13.1.26 |
| redhat | libvirt | >= 0 < 1.3.1-1ubuntu10.19 | 1.3.1-1ubuntu10.19 |
Detection & IOCsextracted from sources · hover to see the quote
- →Detect unauthenticated VNC connections to libvirt-managed VMs where the VNC password is configured as an empty string — such connections bypass authentication entirely in libvirt < 2.0.0 ↗
- →Monitor libvirt QEMU driver VNC sessions that succeed with no authentication (empty credential exchange), particularly on hosts running libvirt versions prior to 2.0.0 ↗
- →Alert on VNC authentication bypass: a VNC session established with no password where the libvirt domain XML specifies an empty VNC password attribute ↗
- ·The vulnerability only manifests when the VNC password in libvirt is explicitly set to an empty string; a VNC server with no password configured at all is a separate condition — the flaw specifically concerns the empty-string case that was documented to disable access but instead grants unauthenticated access ↗
- ·Only the QEMU driver in libvirt is affected; mingw-libvirt does not enable the vulnerable code path ↗
- ·Red Hat Enterprise Linux 5 is not affected; RHEL 6 will not receive a fix; RHEL 7 was addressed via RHSA-2016:2577 ↗
CVSS provenance
nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:P/A:N
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_redhat9.8CRITICAL
vendor_ubuntu9.8CRITICAL
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
libvirt vulnerabilities
vendor_ubuntu·2018-02-20·CVSS 9.8
CVE-2016-5008 [CRITICAL] libvirt vulnerabilities
Title: libvirt vulnerabilities
Summary: Several security issues were fixed in libvirt.
Vivian Zhang and Christoph Anton Mitterer discovered that libvirt
incorrectly disabled password authentication when the VNC password was set
to an empty string. A remote attacker could possibly use this issue to
bypass authentication, contrary to expectations. This issue only affected
Ubuntu 14.04 LTS and Ubuntu 16.04 LTS. (CVE-2016-5008)
Daniel P. Berrange discovered that libvirt incorrectly handled validating
SSL/TLS certificates. A remote attacker could possibly use this issue to
obtain sensitive information. This issue only affected Ubuntu 17.10.
(CVE-2017-1000256)
Daniel P. Berrange and Peter Krempa discovered that libvirt incorrectly
handled large QEMU replies. An attacker could possibly use th
Debian
CVE-2016-5008: libvirt - libvirt before 2.0.0 improperly disables password checking when the password on ...
vendor_debian·2016·CVSS 9.8
CVE-2016-5008 [CRITICAL] CVE-2016-5008: libvirt - libvirt before 2.0.0 improperly disables password checking when the password on ...
libvirt before 2.0.0 improperly disables password checking when the password on a VNC server is set to an empty string, which allows remote attackers to bypass authentication and establish a VNC session by connecting to the server.
Scope: local
bookworm: resolved (fixed in 2.0.0-1)
bullseye: resolved (fixed in 2.0.0-1)
forky: resolved (fixed in 2.0.0-1)
sid: resolved (fixed in 2.0.0-1)
trixie: resolved (fixed in 2.0.0-1)
Red Hat
libvirt: Setting empty VNC password allows access to unauthorized users
vendor_redhat·2015-01-18·CVSS 9.8
CVE-2016-5008 [CRITICAL] libvirt: Setting empty VNC password allows access to unauthorized users
libvirt: Setting empty VNC password allows access to unauthorized users
libvirt before 2.0.0 improperly disables password checking when the password on a VNC server is set to an empty string, which allows remote attackers to bypass authentication and establish a VNC session by connecting to the server.
It was found that setting a VNC password to an empty string in libvirt did not disable all access to the VNC server as documented, instead it allowed access with no authentication required. An attacker could use this flaw to access a VNC server with an empty VNC password without any authentication.
Package: libvirt (Red Hat Enterprise Linux 5) - Not affected
Package: libvirt (Red Hat Enterprise Linux 6) - Will not fix
Package: mingw-virt-viewer (Red Hat Enterprise Virtualization 3) - Un
GHSA
GHSA-qmg9-jp26-j65g: libvirt before 2
ghsa_unreviewed·2022-05-14
CVE-2016-5008 [CRITICAL] CWE-284 GHSA-qmg9-jp26-j65g: libvirt before 2
libvirt before 2.0.0 improperly disables password checking when the password on a VNC server is set to an empty string, which allows remote attackers to bypass authentication and establish a VNC session by connecting to the server.
OSV
libvirt vulnerabilities
osv·2018-02-20·CVSS 9.8
CVE-2016-5008 [CRITICAL] libvirt vulnerabilities
libvirt vulnerabilities
Vivian Zhang and Christoph Anton Mitterer discovered that libvirt
incorrectly disabled password authentication when the VNC password was set
to an empty string. A remote attacker could possibly use this issue to
bypass authentication, contrary to expectations. This issue only affected
Ubuntu 14.04 LTS and Ubuntu 16.04 LTS. (CVE-2016-5008)
Daniel P. Berrange discovered that libvirt incorrectly handled validating
SSL/TLS certificates. A remote attacker could possibly use this issue to
obtain sensitive information. This issue only affected Ubuntu 17.10.
(CVE-2017-1000256)
Daniel P. Berrange and Peter Krempa discovered that libvirt incorrectly
handled large QEMU replies. An attacker could possibly use this issue to
cause libvirt to crash, resulting in a denial of ser
OSV
CVE-2016-5008: libvirt before 2
osv·2016-07-13·CVSS 9.8
CVE-2016-5008 [CRITICAL] CVE-2016-5008: libvirt before 2
libvirt before 2.0.0 improperly disables password checking when the password on a VNC server is set to an empty string, which allows remote attackers to bypass authentication and establish a VNC session by connecting to the server.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2016-5008 libvirt: Setting empty VNC password allows access to unauthorized users [fedora-all]
bugzilla·2016-06-30·CVSS 9.8
CVE-2016-5008 [CRITICAL] CVE-2016-5008 libvirt: Setting empty VNC password allows access to unauthorized users [fedora-all]
CVE-2016-5008 libvirt: Setting empty VNC password allows access to unauthorized users [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple s
Bugzilla
CVE-2016-5008 mingw-libvirt: libvirt: Setting empty VNC password allows access to unauthorized users [fedora-all]
bugzilla·2016-06-30·CVSS 9.8
CVE-2016-5008 [CRITICAL] CVE-2016-5008 mingw-libvirt: libvirt: Setting empty VNC password allows access to unauthorized users [fedora-all]
CVE-2016-5008 mingw-libvirt: libvirt: Setting empty VNC password allows access to unauthorized users [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue aff
Bugzilla
CVE-2016-5008 libvirt: Setting empty VNC password allows access to unauthorized users
bugzilla·2016-06-30·CVSS 9.8
CVE-2016-5008 [CRITICAL] CVE-2016-5008 libvirt: Setting empty VNC password allows access to unauthorized users
CVE-2016-5008 libvirt: Setting empty VNC password allows access to unauthorized users
It was found that setting VNC password to empty string doesn't work in a way as it's documented. The documented semantics of setting the password to an empty string are that it disables all access to the VNC server, however in fact it allows all users access with no authentication required instead.
Product bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1180092
Discussion:
Created mingw-libvirt tracking bugs for this issue:
Affects: fedora-all [bug 1351517]
---
Created libvirt tracking bugs for this issue:
Affects: fedora-all [bug 1351516]
---
libvirt-1.3.3.2-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
---
l
http://lists.opensuse.org/opensuse-updates/2016-07/msg00054.htmlhttp://lists.opensuse.org/opensuse-updates/2016-07/msg00055.htmlhttp://lists.opensuse.org/opensuse-updates/2016-08/msg00024.htmlhttp://rhn.redhat.com/errata/RHSA-2016-2577.htmlhttp://security.libvirt.org/2016/0001.htmlhttp://www.debian.org/security/2016/dsa-3613http://www.securityfocus.com/bid/91562https://bugzilla.redhat.com/show_bug.cgi?id=1180092https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DZZMOMRXNPALA34XDF5NK363KDLAYSTL/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QTQF6LXKEEMJG4VOOCIAPJAD6ACBYP4W/https://usn.ubuntu.com/3576-1/http://lists.opensuse.org/opensuse-updates/2016-07/msg00054.htmlhttp://lists.opensuse.org/opensuse-updates/2016-07/msg00055.htmlhttp://lists.opensuse.org/opensuse-updates/2016-08/msg00024.htmlhttp://rhn.redhat.com/errata/RHSA-2016-2577.htmlhttp://security.libvirt.org/2016/0001.htmlhttp://www.debian.org/security/2016/dsa-3613http://www.securityfocus.com/bid/91562https://bugzilla.redhat.com/show_bug.cgi?id=1180092https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DZZMOMRXNPALA34XDF5NK363KDLAYSTL/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QTQF6LXKEEMJG4VOOCIAPJAD6ACBYP4W/https://usn.ubuntu.com/3576-1/
2016-07-13
Published