Insecure DLL loading in GNU C Library (glibc) - CVE-2017-16997

 

Insecure DLL loading in GNU C Library (glibc) - CVE-2017-16997

Published: April 4, 2018 / Updated: April 5, 2018


Vulnerability identifier: #VU11547
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-16997
CWE-ID: CWE-427
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local attacker to compromise vulnerable system.

The weakness exists in elf/dl-load.c due to insecure .dll loading mechanism when opening files. Alocal attacker can place a file along with specially crafted .dll file on a remote SBM or WebDAV share and execute arbitrary code on the target system with elevated privileges.

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


Affected software

GNU C Library (glibc)
Gentoo Linux
Amazon Linux AMI
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power
SUSE Linux
Fedora
Opensuse
Red Hat Virtualization Host
glibc

How to mitigate CVE-2017-16997

Update to version 2.27.

glibc - addressed in versions 2.25-13.fc26, 2.26-24.fc27

External References

Related Security Bulletins