#VU7137 Memory corruption in libffi


Published: 2017-06-20 | Updated: 2017-06-21

Vulnerability identifier: #VU7137

Vulnerability risk: Medium

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

CVE-ID: CVE-2017-1000376

CWE-ID: CWE-119

Exploitation vector: Local

Exploit availability: No

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

Vendor: libffi

Description

The vulnerability allows a local attacker to gain elevated privileges on the target system.

The vulnerability exists due to memory management errors in implementation of various functions under multiple operating systems. A local or remote attacker can use the GNU_STACK executable to manipulate the heap/stack, trigger memory corruption and execute arbitrary code on the target system.

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.

Mitigation
Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Vulnerable software versions

libffi: 3.2.1


External links
http://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt


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.


Latest bulletins with this vulnerability