Integer overflow in libxls - CVE-2017-12108

 

Integer overflow in libxls - CVE-2017-12108

Published: November 22, 2017


Vulnerability identifier: #VU9399
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2017-12108
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: libxls.sourceforge.net
Affected software:
libxls

Detailed vulnerability description

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

The weakness exists in the xls_preparseWorkSheet function due to integer overflow when handling a MULBLANK record. A remote attacker can send a specially crafted .xls file, trick the victim into opening it, trigger memory corruption and execute arbitrary code with privileges of the current user.

Successful exploitation of the vulnerability may result in system compromise.

How to mitigate CVE-2017-12108

Install update from vendor's website.

Sources