CVE-2013-6456
What it is
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.
At a glance
- Exploitability
- Can be exploited from the same network segment with a login. High risk of service disruption.
- Exploit odds
- 0.6% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.6% in the next 30 days (EPSS).
- Severity: 5.8 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.6% · EPSS, next 30 days
- Weakness
- CWE-59
- Record status
- Modified
Affected
- Redhat Libvirt 1.0.1
- Redhat Libvirt 1.0.2
- Redhat Libvirt 1.0.3
- Redhat Libvirt 1.0.4
- Redhat Libvirt 1.0.5
- Redhat Libvirt 1.0.5.1
- Redhat Libvirt 1.0.5.2
- Redhat Libvirt 1.0.5.3
Attack profile CVSS 2.0 · 5.8
- Attack vector
- Adjacent network
- Complexity
- Medium
- Authentication
- Single
- Confidentiality
- None
- Integrity
- Partial
- Availability
- Complete
Raw vector
AV:A/AC:M/Au:S/C:N/I:P/A:C
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2013-6456.md and follow it. Check whether this project is affected by CVE-2013-6456. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://secunia.com/advisories/56187
- http://secunia.com/advisories/56215
- http://security.libvirt.org/2013/0018.html
- http://secunia.com/advisories/56187
- http://secunia.com/advisories/56215
- http://security.libvirt.org/2013/0018.html
References
- http://libvirt.org/git/?p=libvirt.git%3Ba=commit%3Bh=5fc590ad9f4
- http://libvirt.org/news.html
- http://lists.fedoraproject.org/pipermail/package-announce/2014-February/129199.html
- http://lists.opensuse.org/opensuse-updates/2014-05/msg00004.html
- http://secunia.com/advisories/56187
- http://secunia.com/advisories/56215
- http://secunia.com/advisories/60895
- http://security.gentoo.org/glsa/glsa-201412-04.xml
- http://security.libvirt.org/2013/0018.html
- http://www.securityfocus.com/bid/65743
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732394
- https://bugzilla.redhat.com/show_bug.cgi?id=1045643
- http://libvirt.org/git/?p=libvirt.git%3Ba=commit%3Bh=5fc590ad9f4
- http://libvirt.org/news.html
- http://lists.fedoraproject.org/pipermail/package-announce/2014-February/129199.html
- http://lists.opensuse.org/opensuse-updates/2014-05/msg00004.html
- http://secunia.com/advisories/56187
- http://secunia.com/advisories/56215
- http://secunia.com/advisories/60895
- http://security.gentoo.org/glsa/glsa-201412-04.xml
- http://security.libvirt.org/2013/0018.html
- http://www.securityfocus.com/bid/65743
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732394
- https://bugzilla.redhat.com/show_bug.cgi?id=1045643