CVE-2013-6456 - Improper Link Resolution Before File Access ('Link Following')

Severity

57%

Complexity

44%

Confidentiality

130%

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.

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.

CVSS 2.0 Base Score 5.8. CVSS Attack Vector: adjacent_network. CVSS Attack Complexity: medium. CVSS Vector: (AV:A/AC:M/Au:S/C:N/I:P/A:C).

Overview

First reported 10 years ago

2014-04-15 23:55:00

Last updated 10 years ago

2015-01-03 02:22:00

Affected Software

Red Hat libvirt 1.0.1

1.0.1

Red Hat libvirt 1.0.2

1.0.2

Red Hat libvirt 1.0.3

1.0.3

Red Hat libvirt 1.0.4

1.0.4

Red Hat libvirt 1.0.5

1.0.5

Red Hat libvirt 1.0.5.1

1.0.5.1

Red Hat libvirt 1.0.5.2

1.0.5.2

Red Hat libvirt 1.0.5.3

1.0.5.3

Red Hat libvirt 1.0.5.4

1.0.5.4

Red Hat libvirt 1.0.5.5

1.0.5.5

Red Hat libvirt 1.0.5.6

1.0.5.6

Red Hat libvirt 1.0.6

1.0.6

Red Hat libvirt 1.1.0

1.1.0

Red Hat libvirt 1.1.1

1.1.1

Red Hat libvirt 1.1.2

1.1.2

Red Hat libvirt 1.1.3

1.1.3

Red Hat libvirt 1.1.4

1.1.4

Red Hat libvirt 1.2.0

1.2.0

Red Hat libvirt 1.2.1

1.2.1

Fedora 20

20

Stay updated

ExploitPedia is constantly evolving. Sign up to receive a notification when we release additional functionality.

Get in touch

If you'd like to report a bug or have any suggestions for improvements then please do get in touch with us using this form. We will get back to you as soon as we can.