Link following in libvirt - CVE-2013-6456

 

Link following in libvirt - CVE-2013-6456

Published: April 16, 2014 / Updated: July 28, 2020


Vulnerability identifier: #VU32531
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:A/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2013-6456
CWE-ID: CWE-59
Exploitation vector: Adjecent network
Exploit availability: No public exploit available
Vendor: libvirt.org
Affected software:
libvirt

Detailed vulnerability description

The vulnerability allows a remote #AU# to damange or delete data.

The LXC driver (lxc/lxc_driver.c) in libvirt 1.0.1 through 1.2.1 allows local users to (1) delete arbitrary host devices via the virDomainDeviceDettach API and a symlink attack on /dev in the container; (2) create arbitrary nodes (mknod) via the virDomainDeviceAttach API and a symlink attack on /dev in the container; and cause a denial of service (shutdown or reboot host OS) via the (3) virDomainShutdown or (4) virDomainReboot API and a symlink attack on /dev/initctl in the container, related to "paths under /proc/$PID/root" and the virInitctlSetRunLevel function.


How to mitigate CVE-2013-6456

Install update from vendor's website.

Sources