CVE-2014-7840
QEMU Arbitrary Code Execution Vulnerability
Description
The host_from_stream_offset function in arch_init.c in QEMU, when loading RAM during migration, allows remote attackers to execute arbitrary code via a crafted (1) offset or (2) length value in savevm data.
INFO
Published Date :
Dec. 12, 2014, 3:59 p.m.
Last Modified :
Feb. 13, 2023, 12:42 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
6.4
Exploitability Score :
10.0
Affected Products
The following products are affected by CVE-2014-7840
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.
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-2014-7840
.
URL | Resource |
---|---|
http://git.qemu.org/?p=qemu.git%3Ba=commit%3Bh=0be839a2701369f669532ea5884c15bead1c6e08 | |
http://rhn.redhat.com/errata/RHSA-2015-0349.html | Third Party Advisory |
http://rhn.redhat.com/errata/RHSA-2015-0624.html | Third Party Advisory |
http://thread.gmane.org/gmane.comp.emulators.qemu/306117 | Broken Link |
https://bugzilla.redhat.com/show_bug.cgi?id=1163075 | Issue Tracking Third Party Advisory |
https://exchange.xforce.ibmcloud.com/vulnerabilities/99194 | 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-2014-7840
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2014-7840
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 -
CVE Modified by [email protected]
Feb. 13, 2023
Action Type Old Value New Value Changed Description It was found that certain values that were read when loading RAM during migration were not validated. A user able to alter the savevm data (either on the disk or over the wire during migration) could use either of these flaws to corrupt QEMU process memory on the (destination) host, which could potentially result in arbitrary code execution on the host with the privileges of the QEMU process. The host_from_stream_offset function in arch_init.c in QEMU, when loading RAM during migration, allows remote attackers to execute arbitrary code via a crafted (1) offset or (2) length value in savevm data. Removed CVSS V2 Red Hat, Inc. (AV:L/AC:H/Au:N/C:P/I:P/A:P) Removed Reference https://access.redhat.com/errata/RHSA-2015:0349 [No Types Assigned] Removed Reference https://access.redhat.com/errata/RHSA-2015:0624 [No Types Assigned] Removed Reference https://access.redhat.com/security/cve/CVE-2014-7840 [No Types Assigned] -
CVE Modified by [email protected]
Feb. 02, 2023
Action Type Old Value New Value Changed Description The host_from_stream_offset function in arch_init.c in QEMU, when loading RAM during migration, allows remote attackers to execute arbitrary code via a crafted (1) offset or (2) length value in savevm data. It was found that certain values that were read when loading RAM during migration were not validated. A user able to alter the savevm data (either on the disk or over the wire during migration) could use either of these flaws to corrupt QEMU process memory on the (destination) host, which could potentially result in arbitrary code execution on the host with the privileges of the QEMU process. Added CVSS V2 Red Hat, Inc. (AV:L/AC:H/Au:N/C:P/I:P/A:P) Removed Reference http://git.qemu.org/?p=qemu.git;a=commit;h=0be839a2701369f669532ea5884c15bead1c6e08 [Patch, Vendor Advisory] Added Reference http://git.qemu.org/?p=qemu.git%3Ba=commit%3Bh=0be839a2701369f669532ea5884c15bead1c6e08 [No Types Assigned] Added Reference https://access.redhat.com/security/cve/CVE-2014-7840 [No Types Assigned] Added Reference https://access.redhat.com/errata/RHSA-2015:0349 [No Types Assigned] Added Reference https://access.redhat.com/errata/RHSA-2015:0624 [No Types Assigned] -
Modified Analysis by [email protected]
Aug. 11, 2020
Action Type Old Value New Value Changed Reference Type http://git.qemu.org/?p=qemu.git;a=commit;h=0be839a2701369f669532ea5884c15bead1c6e08 Issue Tracking, Patch, Vendor Advisory http://git.qemu.org/?p=qemu.git;a=commit;h=0be839a2701369f669532ea5884c15bead1c6e08 Patch, Vendor Advisory Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=1163075 Issue Tracking https://bugzilla.redhat.com/show_bug.cgi?id=1163075 Issue Tracking, Third Party Advisory Changed Reference Type https://exchange.xforce.ibmcloud.com/vulnerabilities/99194 No Types Assigned https://exchange.xforce.ibmcloud.com/vulnerabilities/99194 Third Party Advisory, VDB Entry Removed CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_hpc_node:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* Changed CPE Configuration OR *cpe:2.3:a:qemu:qemu:-:*:*:*:*:*:*:* OR *cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_eus:7.3:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_eus:7.4:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_eus:7.5:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_eus:7.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_eus:7.7:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:7.3:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:7.7:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:* versions up to (including) 2.1.3 Added CPE Configuration AND OR *cpe:2.3:a:redhat:virtualization:3.0:*:*:*:*:*:*:* OR cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Sep. 08, 2017
Action Type Old Value New Value Removed Reference http://xforce.iss.net/xforce/xfdb/99194 [Third Party Advisory] Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/99194 [No Types Assigned] -
Modified Analysis by [email protected]
Aug. 31, 2016
Action Type Old Value New Value Changed CPE Configuration Configuration 1 OR *cpe:2.3:a:qemu:qemu:-:*:*:*:*:*:*:* Configuration 1 OR *cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_hpc_node:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* Configuration 2 OR *cpe:2.3:a:qemu:qemu:-:*:*:*:*:*:*:* Changed Reference Type http://git.qemu.org/?p=qemu.git;a=commit;h=0be839a2701369f669532ea5884c15bead1c6e08 Vendor Advisory http://git.qemu.org/?p=qemu.git;a=commit;h=0be839a2701369f669532ea5884c15bead1c6e08 Issue Tracking, Vendor Advisory, Patch Changed Reference Type http://rhn.redhat.com/errata/RHSA-2015-0349.html No Types Assigned http://rhn.redhat.com/errata/RHSA-2015-0349.html Third Party Advisory Changed Reference Type http://rhn.redhat.com/errata/RHSA-2015-0624.html No Types Assigned http://rhn.redhat.com/errata/RHSA-2015-0624.html Third Party Advisory Changed Reference Type http://xforce.iss.net/xforce/xfdb/99194 No Types Assigned http://xforce.iss.net/xforce/xfdb/99194 Third Party Advisory Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=1163075 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=1163075 Issue Tracking Changed Reference Type http://thread.gmane.org/gmane.comp.emulators.qemu/306117 No Types Assigned http://thread.gmane.org/gmane.comp.emulators.qemu/306117 Broken Link -
CVE Modified by [email protected]
Mar. 18, 2015
Action Type Old Value New Value Added Reference http://rhn.redhat.com/errata/RHSA-2015-0349.html Added Reference http://rhn.redhat.com/errata/RHSA-2015-0624.html -
Modified Analysis by [email protected]
Dec. 15, 2014
Action Type Old Value New Value Added CPE Configuration Configuration 1 OR *cpe:2.3:a:qemu:qemu:-:*:*:*:*:*:*:* Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:P/A:P) Changed Reference Type http://git.qemu.org/?p=qemu.git;a=commit;h=0be839a2701369f669532ea5884c15bead1c6e08 No Types Assigned http://git.qemu.org/?p=qemu.git;a=commit;h=0be839a2701369f669532ea5884c15bead1c6e08 Advisory Added CWE CWE-20 -
Initial Analysis by [email protected]
Dec. 15, 2014
Action Type Old Value New Value
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2014-7840
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-2014-7840
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
7.93 }} 0.05%
score
0.94266
percentile