#VU20400 Heap-based buffer overflow in libMirage


Published: 2019-08-26 | Updated: 2022-02-09

Vulnerability identifier: #VU20400

Vulnerability risk: Low

CVSSv3.1: 7 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C]

CVE-ID: CVE-2019-15540

CWE-ID: CWE-122

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
libMirage
Universal components / Libraries / Libraries used by multiple products

Vendor: cdemu.sourceforge.io

Description

The vulnerability allows a local attacker to execute arbitrary code on the target system.

The vulnerability exists in the "filters/filter-cso/filter-stream.c" in the CSO filter due to a boundary error when the software does not validate the part size. A local authenticated attacker can trigger heap-based buffer overflow, gain root access and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation
Install update from vendor's website.

Vulnerable software versions

libMirage: 3.2.2


External links
http://gist.github.com/andreafioraldi/baa79cd78131888d98d6ba680d5f514e
http://sourceforge.net/p/cdemu/bugs/119/
http://sourceforge.net/p/cdemu/code/ci/0e9292c9aa34bf545f43f7efe5f0b94faba94962/


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability