Input validation error in QEMU - CVE-2012-2652
Published: August 7, 2012 / Updated: August 4, 2020
QEMU
Detailed vulnerability description
The vulnerability allows a remote non-authenticated attacker to read and manipulate data.
The bdrv_open function in Qemu 1.0 does not properly handle the failure of the mkstemp function, when in snapshot node, which allows local users to overwrite or read arbitrary files via a symlink attack on an unspecified temporary file.
How to mitigate CVE-2012-2652
Sources
- http://git.kernel.org/?p=virt/kvm/qemu-kvm.git;a=commit;h=eba25057b9a5e19d10ace2bc7716667a31297169
- http://git.qemu.org/?p=qemu-stable-0.15.git;a=log
- http://lists.opensuse.org/opensuse-security-announce/2012-09/msg00024.html
- http://secunia.com/advisories/50132
- http://secunia.com/advisories/50689
- http://www.debian.org/security/2012/dsa-2545
- http://www.securityfocus.com/bid/53725
- http://www.ubuntu.com/usn/USN-1522-1