cve/2018/CVE-2018-12617.md

21 lines
1.0 KiB
Markdown
Raw Normal View History

2024-05-26 14:27:05 +02:00
### [CVE-2018-12617](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-12617)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### 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.
### POC
#### Reference
- https://gist.github.com/fakhrizulkifli/c7740d28efa07dafee66d4da5d857ef6
2024-06-09 00:33:16 +00:00
- https://gist.github.com/fakhrizulkifli/c7740d28efa07dafee66d4da5d857ef6
2024-05-26 14:27:05 +02:00
- https://www.exploit-db.com/exploits/44925/
2024-06-09 00:33:16 +00:00
- https://www.exploit-db.com/exploits/44925/
2024-05-26 14:27:05 +02:00
#### Github
No PoCs found on GitHub currently.