7.5
HIGH
CVE-2018-12617
QEMU Guest Agent QMP Guest File Read Integer Overflow
Description

qmp_guest_file_read in qga/commands-posix.c and qga/commands-win32.c in qemu-ga (aka QEMU Guest Agent) in QEMU 2.12.50 has an integer overflow causing a g_malloc0() call to trigger a segmentation fault when trying to allocate a large memory chunk. The vulnerability can be exploited by sending a crafted QMP command (including guest-file-read with a large count value) to the agent via the listening socket.

INFO

Published Date :

June 21, 2018, 6:29 p.m.

Last Modified :

Nov. 19, 2020, 4:35 p.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2018-12617 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Canonical ubuntu_linux
1 Debian debian_linux
1 Qemu qemu
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2018-12617.

URL Resource
http://www.securityfocus.com/bid/104531 Third Party Advisory VDB Entry
https://gist.github.com/fakhrizulkifli/c7740d28efa07dafee66d4da5d857ef6 Exploit Third Party Advisory
https://lists.debian.org/debian-lts-announce/2019/02/msg00041.html Mailing List Third Party Advisory
https://lists.gnu.org/archive/html/qemu-devel/2018-06/msg03385.html Mailing List Patch Third Party Advisory
https://seclists.org/bugtraq/2019/May/76 Mailing List Third Party Advisory
https://usn.ubuntu.com/3826-1/ Third Party Advisory
https://www.debian.org/security/2019/dsa-4454 Third Party Advisory
https://www.exploit-db.com/exploits/44925/ Exploit Third Party Advisory VDB Entry

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2018-12617 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-12617 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Reanalysis by [email protected]

    Nov. 19, 2020

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:* versions up to (including) 4.2.0 *cpe:2.3:a:qemu:qemu:5.0.0:rc0:*:*:*:*:*:* *cpe:2.3:a:qemu:qemu:5.0.0:rc1:*:*:*:*:*:* *cpe:2.3:a:qemu:qemu:5.0.0:rc2:*:*:*:*:*:* OR *cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:* versions up to (including) 2.12.50
  • Modified Analysis by [email protected]

    May. 14, 2020

    Action Type Old Value New Value
    Removed CVSS V3 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://lists.gnu.org/archive/html/qemu-devel/2018-06/msg03385.html Patch, Third Party Advisory https://lists.gnu.org/archive/html/qemu-devel/2018-06/msg03385.html Mailing List, Patch, Third Party Advisory
    Changed Reference Type https://seclists.org/bugtraq/2019/May/76 No Types Assigned https://seclists.org/bugtraq/2019/May/76 Mailing List, Third Party Advisory
    Changed Reference Type https://www.debian.org/security/2019/dsa-4454 No Types Assigned https://www.debian.org/security/2019/dsa-4454 Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:* versions up to (including) 2.12.50 OR *cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:* versions up to (including) 4.2.0 *cpe:2.3:a:qemu:qemu:5.0.0:rc0:*:*:*:*:*:* *cpe:2.3:a:qemu:qemu:5.0.0:rc1:*:*:*:*:*:* *cpe:2.3:a:qemu:qemu:5.0.0:rc2:*:*:*:*:*:*
    Changed CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* OR *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    May. 31, 2019

    Action Type Old Value New Value
    Added Reference https://seclists.org/bugtraq/2019/May/76 [No Types Assigned]
  • CVE Modified by [email protected]

    May. 31, 2019

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2019/dsa-4454 [No Types Assigned]
  • Modified Analysis by [email protected]

    Feb. 28, 2019

    Action Type Old Value New Value
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2019/02/msg00041.html No Types Assigned https://lists.debian.org/debian-lts-announce/2019/02/msg00041.html Mailing List, Third Party Advisory
    Changed Reference Type https://gist.github.com/fakhrizulkifli/c7740d28efa07dafee66d4da5d857ef6 Exploit https://gist.github.com/fakhrizulkifli/c7740d28efa07dafee66d4da5d857ef6 Exploit, Third Party Advisory
    Changed Reference Type https://usn.ubuntu.com/3826-1/ No Types Assigned https://usn.ubuntu.com/3826-1/ Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Feb. 28, 2019

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2019/02/msg00041.html [No Types Assigned]
  • CVE Modified by [email protected]

    Nov. 27, 2018

    Action Type Old Value New Value
    Added Reference https://usn.ubuntu.com/3826-1/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Aug. 23, 2018

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:N/I:N/A:P)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://lists.gnu.org/archive/html/qemu-devel/2018-06/msg03385.html No Types Assigned https://lists.gnu.org/archive/html/qemu-devel/2018-06/msg03385.html Patch, Third Party Advisory
    Changed Reference Type http://www.securityfocus.com/bid/104531 No Types Assigned http://www.securityfocus.com/bid/104531 Third Party Advisory, VDB Entry
    Changed Reference Type https://gist.github.com/fakhrizulkifli/c7740d28efa07dafee66d4da5d857ef6 No Types Assigned https://gist.github.com/fakhrizulkifli/c7740d28efa07dafee66d4da5d857ef6 Exploit
    Changed Reference Type https://www.exploit-db.com/exploits/44925/ No Types Assigned https://www.exploit-db.com/exploits/44925/ Exploit, Third Party Advisory, VDB Entry
    Added CWE CWE-190
    Added CPE Configuration OR *cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:* versions up to (including) 2.12.50
  • CVE Modified by [email protected]

    Jun. 25, 2018

    Action Type Old Value New Value
    Added Reference https://www.exploit-db.com/exploits/44925/ [No Types Assigned]
  • CVE Modified by [email protected]

    Jun. 24, 2018

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/104531 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2018-12617 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2018-12617 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

14.12 }} 2.15%

score

0.95120

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability