ID CVE-2015-3247
Summary Race condition in the worker_update_monitors_config function in SPICE 0.12.4 allows a remote authenticated guest user to cause a denial of service (heap-based memory corruption and QEMU-KVM crash) or possibly execute arbitrary code on the host via unspecified vectors.
References
Vulnerable Configurations
  • Spice Project SPICE 0.12.4
    cpe:2.3:a:spice_project:spice:0.12.4
  • Red Hat Enterprise Linux (RHEL) 7.0 (7)
    cpe:2.3:o:redhat:enterprise_linux:7.0
  • Red Hat Enterprise Linux 6
    cpe:2.3:o:redhat:enterprise_linux:6
  • Red Hat Enterprise Linux Desktop 6.0
    cpe:2.3:o:redhat:enterprise_linux_desktop:6.0
  • RedHat Enterprise Linux Desktop 7.0
    cpe:2.3:o:redhat:enterprise_linux_desktop:7.0
  • cpe:2.3:o:redhat:enterprise_linux_hpc_node:6
    cpe:2.3:o:redhat:enterprise_linux_hpc_node:6
  • RedHat Enterprise Linux HPC Node 7.0
    cpe:2.3:o:redhat:enterprise_linux_hpc_node:7.0
  • Red Hat Enterprise Linux Server 6.0
    cpe:2.3:o:redhat:enterprise_linux_server:6.0
  • RedHat Enterprise Linux Server 7.0
    cpe:2.3:o:redhat:enterprise_linux_server:7.0
  • Red Hat Enterprise Linux Workstation 6.0
    cpe:2.3:o:redhat:enterprise_linux_workstation:6.0
  • RedHat Enterprise Linux Workstation 7.0
    cpe:2.3:o:redhat:enterprise_linux_workstation:7.0
CVSS
Base: 6.9 (as of 09-06-2016 - 14:42)
Impact:
Exploitability:
CWE CWE-362
CAPEC
  • Leveraging Race Conditions
    This attack targets a race condition occurring when multiple processes access and manipulate the same resource concurrently and the outcome of the execution depends on the particular order in which the access takes place. The attacker can leverage a race condition by "running the race", modifying the resource and modifying the normal execution flow. For instance a race condition can occur while accessing a file, the attacker can trick the system by replacing the original file with his version and cause the system to read the malicious file.
  • Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions
    This attack targets a race condition occurring between the time of check (state) for a resource and the time of use of a resource. The typical example is the file access. The attacker can leverage a file access race condition by "running the race", meaning that he would modify the resource between the first time the target program accesses the file and the time the target program uses the file. During that period of time, the attacker could do something such as replace the file and cause an escalation of privilege.
Access
VectorComplexityAuthentication
LOCAL MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
COMPLETE COMPLETE COMPLETE
nessus via4
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2015-1713.NASL
    description Updated rhev-hypervisor packages that fix multiple security issues, several bugs, and add various enhancements are now available. Red Hat Product Security has rated this update as having Important security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. The rhev-hypervisor package provides a Red Hat Enterprise Virtualization Hypervisor ISO disk image. The Red Hat Enterprise Virtualization Hypervisor is a dedicated Kernel-based Virtual Machine (KVM) hypervisor. It includes everything necessary to run and manage virtual machines: A subset of the Red Hat Enterprise Linux operating environment and the Red Hat Enterprise Virtualization Agent. Note: Red Hat Enterprise Virtualization Hypervisor is only available for the Intel 64 and AMD64 architectures with virtualization extensions. A heap-based buffer overflow flaw was found in the way JasPer decoded JPEG 2000 image files. A specially crafted file could cause an application using JasPer to crash or, possibly, execute arbitrary code. (CVE-2014-8138) A race condition flaw, leading to a heap-based memory corruption, was found in spice's worker_update_monitors_config() function, which runs under the QEMU-KVM context on the host. A user in a guest could leverage this flaw to crash the host QEMU-KVM process or, possibly, execute arbitrary code with the privileges of the host QEMU-KVM process. (CVE-2015-3247) A double free flaw was found in the way JasPer parsed ICC color profiles in JPEG 2000 image files. A specially crafted file could cause an application using JasPer to crash or, possibly, execute arbitrary code. (CVE-2014-8137) It was found that the idle timeout in the Red Hat Enterprise Virtualization Manager Web Admin interface failed to log out a session if a VM has been selected in the VM grid view. This could allow a local attacker to access the web interface if it was left unattended. (CVE-2015-1841) Red Hat would like to thank oCERT for reporting CVE-2014-8137 and CVE-2014-8138. oCERT acknowledges Jose Duart of the Google Security Team as the original reporter. The CVE-2015-3247 issue was discovered by Frediano Ziglio of Red Hat. The CVE-2015-1841 issue was discovered by Einav Cohen of Red Hat. This update also fixes the following bug : * Previously, installing the Red Hat Enterprise Virtualization Hypervisor 7 RPM on a Red Hat Enterprise Linux 6 host failed, because no such thing was available. Now, the Red Hat Enterprise Virtualization Hypervisor 7 RPM is available in the rhel-6-server-rhevh-rpms channel, and can be installed on a Red Hat Enterprise Linux 6 host. (BZ#1193678) In addition, this update adds the following enhancement : * With this release, the Red Hat Enterprise Virtualizaton Hypervisor now includes the drivers for the Dell Shared PERC8 RAID Controller. (BZ#1186582) Users of the Red Hat Enterprise Virtualization Hypervisor are advised to upgrade to this updated package.
    last seen 2018-09-02
    modified 2018-07-26
    plugin id 85999
    published 2015-09-18
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=85999
    title RHEL 6 : rhev-hypervisor (RHSA-2015:1713)
  • NASL family SuSE Local Security Checks
    NASL id OPENSUSE-2015-657.NASL
    description Spice was updated to fix four security issues. The following vulnerabilities were fixed : - CVE-2015-3247: heap corruption in the spice server (bsc#944460) - CVE-2015-5261: Guest could have accessed host memory using crafted images (bsc#948976) - CVE-2015-5260: Insufficient validation of surface_id parameter could have caused a crash (bsc#944460) - CVE-2013-4282: Buffer overflow in password handling (bsc#848279)
    last seen 2018-09-01
    modified 2016-10-13
    plugin id 86392
    published 2015-10-15
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=86392
    title openSUSE Security Update : spice (openSUSE-2015-657)
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-2736-1.NASL
    description Frediano Ziglio discovered that Spice incorrectly handled monitor configs. A malicious guest could use this issue to cause a denial of service, or possibly execute arbitrary code on the host as the user running the QEMU process. In the default installation, when QEMU is used with libvirt, attackers would be isolated by the libvirt AppArmor profile. Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2018-09-01
    modified 2018-08-03
    plugin id 85873
    published 2015-09-09
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=85873
    title Ubuntu 14.04 LTS / 15.04 : spice vulnerability (USN-2736-1)
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20150903_SPICE_SERVER_ON_SL7_X.NASL
    description A race condition flaw, leading to a heap-based memory corruption, was found in spice's worker_update_monitors_config() function, which runs under the QEMU-KVM context on the host. A user in a guest could leverage this flaw to crash the host QEMU-KVM process or, possibly, execute arbitrary code with the privileges of the host QEMU-KVM process. (CVE-2015-3247)
    last seen 2018-09-01
    modified 2015-09-10
    plugin id 85790
    published 2015-09-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=85790
    title Scientific Linux Security Update : spice-server on SL7.x x86_64
  • NASL family SuSE Local Security Checks
    NASL id SUSE_SU-2015-1733-1.NASL
    description Spice was updated to fix three security issues. The following vulnerabilities were fixed : - CVE-2015-3247: heap corruption in the spice server (bsc#944460) - CVE-2015-5261: Guest could have accessed host memory using crafted images (bsc#948976) - CVE-2015-5260: Insufficient validation of surface_id parameter could have caused a crash (bsc#944460) Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2018-09-01
    modified 2018-07-31
    plugin id 86397
    published 2015-10-15
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=86397
    title SUSE SLED12 / SLES12 Security Update : spice (SUSE-SU-2015:1733-1)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-3354.NASL
    description Frediano Ziglio of Red Hat discovered a race condition flaw in spice's worker_update_monitors_config() function, leading to a heap-based memory corruption. A malicious user in a guest can take advantage of this flaw to cause a denial of service (QEMU process crash) or, potentially execute arbitrary code on the host with the privileges of the hosting QEMU process.
    last seen 2018-09-02
    modified 2018-07-10
    plugin id 85851
    published 2015-09-09
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=85851
    title Debian DSA-3354-1 : spice - security update
  • NASL family SuSE Local Security Checks
    NASL id OPENSUSE-2015-583.NASL
    description Spice was updated to fix a heap corruption in the spice server (CVE-2015-3247).
    last seen 2018-09-01
    modified 2015-09-18
    plugin id 85998
    published 2015-09-18
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=85998
    title openSUSE Security Update : spice (openSUSE-2015-583)
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2015-1715.NASL
    description From Red Hat Security Advisory 2015:1715 : An updated spice-server package that fixes one security issue is now available for Red Hat Enterprise Linux 6. Red Hat Product Security has rated this update as having Important security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. The Simple Protocol for Independent Computing Environments (SPICE) is a remote display protocol for virtual environments. SPICE users can access a virtualized desktop or server from the local system or any system with network access to the server. SPICE is used in Red Hat Enterprise Linux for viewing virtualized guests running on the Kernel-based Virtual Machine (KVM) hypervisor or on Red Hat Enterprise Virtualization Hypervisors. A race condition flaw, leading to a heap-based memory corruption, was found in spice's worker_update_monitors_config() function, which runs under the QEMU-KVM context on the host. A user in a guest could leverage this flaw to crash the host QEMU-KVM process or, possibly, execute arbitrary code with the privileges of the host QEMU-KVM process. (CVE-2015-3247) This issue was discovered by Frediano Ziglio of Red Hat. All spice-server users are advised to upgrade to this updated package, which contains a backported patch to correct this issue.
    last seen 2018-09-01
    modified 2018-07-18
    plugin id 85782
    published 2015-09-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=85782
    title Oracle Linux 6 : spice-server (ELSA-2015-1715)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2015-1714.NASL
    description An updated spice package that fixes one security issue is now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having Important security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. The Simple Protocol for Independent Computing Environments (SPICE) is a remote display protocol for virtual environments. SPICE users can access a virtualized desktop or server from the local system or any system with network access to the server. SPICE is used in Red Hat Enterprise Linux for viewing virtualized guests running on the Kernel-based Virtual Machine (KVM) hypervisor or on Red Hat Enterprise Virtualization Hypervisors. A race condition flaw, leading to a heap-based memory corruption, was found in spice's worker_update_monitors_config() function, which runs under the QEMU-KVM context on the host. A user in a guest could leverage this flaw to crash the host QEMU-KVM process or, possibly, execute arbitrary code with the privileges of the host QEMU-KVM process. (CVE-2015-3247) This issue was discovered by Frediano Ziglio of Red Hat. All spice users are advised to upgrade to this updated package, which contains a backported patch to correct this issue.
    last seen 2018-09-07
    modified 2018-09-06
    plugin id 85975
    published 2015-09-17
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=85975
    title RHEL 7 : spice (RHSA-2015:1714)
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2015-1714.NASL
    description An updated spice package that fixes one security issue is now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having Important security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. The Simple Protocol for Independent Computing Environments (SPICE) is a remote display protocol for virtual environments. SPICE users can access a virtualized desktop or server from the local system or any system with network access to the server. SPICE is used in Red Hat Enterprise Linux for viewing virtualized guests running on the Kernel-based Virtual Machine (KVM) hypervisor or on Red Hat Enterprise Virtualization Hypervisors. A race condition flaw, leading to a heap-based memory corruption, was found in spice's worker_update_monitors_config() function, which runs under the QEMU-KVM context on the host. A user in a guest could leverage this flaw to crash the host QEMU-KVM process or, possibly, execute arbitrary code with the privileges of the host QEMU-KVM process. (CVE-2015-3247) This issue was discovered by Frediano Ziglio of Red Hat. All spice users are advised to upgrade to this updated package, which contains a backported patch to correct this issue.
    last seen 2018-09-01
    modified 2018-07-02
    plugin id 86507
    published 2015-10-22
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=86507
    title CentOS 7 : spice (CESA-2015:1714)
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20150903_SPICE_SERVER_ON_SL6_X.NASL
    description A race condition flaw, leading to a heap-based memory corruption, was found in spice's worker_update_monitors_config() function, which runs under the QEMU-KVM context on the host. A user in a guest could leverage this flaw to crash the host QEMU-KVM process or, possibly, execute arbitrary code with the privileges of the host QEMU-KVM process. (CVE-2015-3247)
    last seen 2018-09-02
    modified 2015-09-10
    plugin id 85789
    published 2015-09-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=85789
    title Scientific Linux Security Update : spice-server on SL6.x x86_64
  • NASL family SuSE Local Security Checks
    NASL id SUSE_SU-2016-1259-1.NASL
    description Spice was updated to fix three security issues. The following vulnerabilities were fixed : - CVE-2015-3247: heap corruption in the spice server (bsc#944460) - CVE-2015-5261: Guest could have accessed host memory using crafted images (bsc#948976) - CVE-2015-5260: Insufficient validation of surface_id parameter could have caused a crash (bsc#944787) Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2018-09-01
    modified 2018-07-31
    plugin id 90995
    published 2016-05-09
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=90995
    title SUSE SLES11 Security Update : spice (SUSE-SU-2016:1259-1)
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2015-1714.NASL
    description From Red Hat Security Advisory 2015:1714 : An updated spice package that fixes one security issue is now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having Important security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. The Simple Protocol for Independent Computing Environments (SPICE) is a remote display protocol for virtual environments. SPICE users can access a virtualized desktop or server from the local system or any system with network access to the server. SPICE is used in Red Hat Enterprise Linux for viewing virtualized guests running on the Kernel-based Virtual Machine (KVM) hypervisor or on Red Hat Enterprise Virtualization Hypervisors. A race condition flaw, leading to a heap-based memory corruption, was found in spice's worker_update_monitors_config() function, which runs under the QEMU-KVM context on the host. A user in a guest could leverage this flaw to crash the host QEMU-KVM process or, possibly, execute arbitrary code with the privileges of the host QEMU-KVM process. (CVE-2015-3247) This issue was discovered by Frediano Ziglio of Red Hat. All spice users are advised to upgrade to this updated package, which contains a backported patch to correct this issue.
    last seen 2018-09-01
    modified 2018-07-18
    plugin id 85781
    published 2015-09-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=85781
    title Oracle Linux 7 : spice (ELSA-2015-1714)
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2015-1715.NASL
    description An updated spice-server package that fixes one security issue is now available for Red Hat Enterprise Linux 6. Red Hat Product Security has rated this update as having Important security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. The Simple Protocol for Independent Computing Environments (SPICE) is a remote display protocol for virtual environments. SPICE users can access a virtualized desktop or server from the local system or any system with network access to the server. SPICE is used in Red Hat Enterprise Linux for viewing virtualized guests running on the Kernel-based Virtual Machine (KVM) hypervisor or on Red Hat Enterprise Virtualization Hypervisors. A race condition flaw, leading to a heap-based memory corruption, was found in spice's worker_update_monitors_config() function, which runs under the QEMU-KVM context on the host. A user in a guest could leverage this flaw to crash the host QEMU-KVM process or, possibly, execute arbitrary code with the privileges of the host QEMU-KVM process. (CVE-2015-3247) This issue was discovered by Frediano Ziglio of Red Hat. All spice-server users are advised to upgrade to this updated package, which contains a backported patch to correct this issue.
    last seen 2018-09-01
    modified 2018-07-02
    plugin id 86508
    published 2015-10-22
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=86508
    title CentOS 6 : spice-server (CESA-2015:1715)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2015-1715.NASL
    description An updated spice-server package that fixes one security issue is now available for Red Hat Enterprise Linux 6. Red Hat Product Security has rated this update as having Important security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. The Simple Protocol for Independent Computing Environments (SPICE) is a remote display protocol for virtual environments. SPICE users can access a virtualized desktop or server from the local system or any system with network access to the server. SPICE is used in Red Hat Enterprise Linux for viewing virtualized guests running on the Kernel-based Virtual Machine (KVM) hypervisor or on Red Hat Enterprise Virtualization Hypervisors. A race condition flaw, leading to a heap-based memory corruption, was found in spice's worker_update_monitors_config() function, which runs under the QEMU-KVM context on the host. A user in a guest could leverage this flaw to crash the host QEMU-KVM process or, possibly, execute arbitrary code with the privileges of the host QEMU-KVM process. (CVE-2015-3247) This issue was discovered by Frediano Ziglio of Red Hat. All spice-server users are advised to upgrade to this updated package, which contains a backported patch to correct this issue.
    last seen 2018-09-07
    modified 2018-09-06
    plugin id 85976
    published 2015-09-17
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=85976
    title RHEL 6 : spice-server (RHSA-2015:1715)
redhat via4
advisories
  • bugzilla
    id 1233238
    title CVE-2015-3247 spice: memory corruption in worker_update_monitors_config()
    oval
    AND
    • OR
      • comment Red Hat Enterprise Linux 7 Client is installed
        oval oval:com.redhat.rhsa:tst:20140675001
      • comment Red Hat Enterprise Linux 7 Server is installed
        oval oval:com.redhat.rhsa:tst:20140675002
      • comment Red Hat Enterprise Linux 7 Workstation is installed
        oval oval:com.redhat.rhsa:tst:20140675003
      • comment Red Hat Enterprise Linux 7 ComputeNode is installed
        oval oval:com.redhat.rhsa:tst:20140675004
    • OR
      • AND
        • comment spice is earlier than 0:0.12.4-9.el7_1.1
          oval oval:com.redhat.rhsa:tst:20151714009
        • comment spice is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20151714010
      • AND
        • comment spice-server is earlier than 0:0.12.4-9.el7_1.1
          oval oval:com.redhat.rhsa:tst:20151714005
        • comment spice-server is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20131192006
      • AND
        • comment spice-server-devel is earlier than 0:0.12.4-9.el7_1.1
          oval oval:com.redhat.rhsa:tst:20151714007
        • comment spice-server-devel is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20131192008
    rhsa
    id RHSA-2015:1714
    released 2015-09-03
    severity Important
    title RHSA-2015:1714: spice security update (Important)
  • bugzilla
    id 1233238
    title CVE-2015-3247 spice: memory corruption in worker_update_monitors_config()
    oval
    AND
    • OR
      • comment Red Hat Enterprise Linux 6 Client is installed
        oval oval:com.redhat.rhsa:tst:20100842001
      • comment Red Hat Enterprise Linux 6 Server is installed
        oval oval:com.redhat.rhsa:tst:20100842002
      • comment Red Hat Enterprise Linux 6 Workstation is installed
        oval oval:com.redhat.rhsa:tst:20100842003
      • comment Red Hat Enterprise Linux 6 ComputeNode is installed
        oval oval:com.redhat.rhsa:tst:20100842004
    • OR
      • AND
        • comment spice-server is earlier than 0:0.12.4-12.el6_7.1
          oval oval:com.redhat.rhsa:tst:20151715005
        • comment spice-server is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20131192006
      • AND
        • comment spice-server-devel is earlier than 0:0.12.4-12.el6_7.1
          oval oval:com.redhat.rhsa:tst:20151715007
        • comment spice-server-devel is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20131192008
    rhsa
    id RHSA-2015:1715
    released 2015-09-03
    severity Important
    title RHSA-2015:1715: spice-server security update (Important)
  • rhsa
    id RHSA-2015:1713
rpms
  • spice-0:0.12.4-9.el7_1.1
  • spice-server-0:0.12.4-9.el7_1.1
  • spice-server-devel-0:0.12.4-9.el7_1.1
  • spice-server-0:0.12.4-12.el6_7.1
  • spice-server-devel-0:0.12.4-12.el6_7.1
refmap via4
debian DSA-3354
mlist [Spice-devel] 20151006 Announcing spice 0.12.6
sectrack
  • 1033459
  • 1033460
  • 1033753
suse openSUSE-SU-2015:1566
ubuntu USN-2736-1
Last major update 21-12-2016 - 21:59
Published 08-09-2015 - 11:59
Last modified 15-09-2017 - 21:29
Back to Top