CVE-2015-5313
published 2016-04-11CVE-2015-5313: Directory traversal vulnerability in the virStorageBackendFileSystemVolCreate function in storage/storage_backend_fs.c in libvirt, when fine-grained Access…
PriorityP414low2.5CVSS 3.0
AVLACHPRLUINSUCNILAN
EPSS
0.45%
36.5th percentile
Directory traversal vulnerability in the virStorageBackendFileSystemVolCreate function in storage/storage_backend_fs.c in libvirt, when fine-grained Access Control Lists (ACL) are in effect, allows local users with storage_vol:create ACL but not domain:write permission to write to arbitrary files via a .. (dot dot) in a volume name.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | libvirt | < libvirt 1.3.0-1 (bookworm) | libvirt 1.3.0-1 (bookworm) |
| redhat | libvirt | >= 0 < 1.3.0-1 | 1.3.0-1 |
| redhat | libvirt | >= 0 < 1.3.0-1 | 1.3.0-1 |
| redhat | libvirt | >= 0 < 1.3.0-1 | 1.3.0-1 |
| redhat | libvirt | >= 0 < 1.3.0-1 | 1.3.0-1 |
| redhat | libvirt | >= 0 < 1.2.2-0ubuntu13.1.16 | 1.2.2-0ubuntu13.1.16 |
CVSS provenance
nvdv3.02.5LOWCVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
nvdv2.01.9LOWAV:L/AC:M/Au:N/C:N/I:P/A:N
osv5.9MEDIUM
vendor_ubuntu5.9MEDIUM
vendor_debian2.5LOW
vendor_redhat2.5LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
libvirt vulnerabilities
vendor_ubuntu·2016-01-12·CVSS 5.9
CVE-2011-4600 [MEDIUM] libvirt vulnerabilities
Title: libvirt vulnerabilities
Summary: Several security issues were fixed in libvirt.
It was discovered that libvirt incorrectly handled the firewall rules on
bridge networks when the daemon was restarted. This could result in an
unintended firewall configuration. This issue only applied to Ubuntu 12.04
LTS. (CVE-2011-4600)
Peter Krempa discovered that libvirt incorrectly handled locking when
certain ACL checks failed. A local attacker could use this issue to cause
libvirt to stop responding, resulting in a denial of service. This issue
only applied to Ubuntu 14.04 LTS. (CVE-2014-8136)
Luyao Huang discovered that libvirt incorrectly handled VNC passwords in
shapshot and image files. A remote authenticated user could use this issue
to possibly obtain VNC passwords. This issue only affe
Red Hat
libvirt: filesystem storage volume names path traversal flaw
vendor_redhat·2015-12-11·CVSS 2.5
CVE-2015-5313 [LOW] CWE-22 libvirt: filesystem storage volume names path traversal flaw
libvirt: filesystem storage volume names path traversal flaw
Directory traversal vulnerability in the virStorageBackendFileSystemVolCreate function in storage/storage_backend_fs.c in libvirt, when fine-grained Access Control Lists (ACL) are in effect, allows local users with storage_vol:create ACL but not domain:write permission to write to arbitrary files via a .. (dot dot) in a volume name.
A path-traversal flaw was found in the way the libvirt daemon handled filesystem names for storage volumes. A libvirt user with privileges to create storage volumes and without privileges to create and modify domains could possibly use this flaw to escalate their privileges.
Statement: This issue affects the versions of libvirt as shipped with Red Hat Enterprise Linux version 7 and Red Hat Gluster
Debian
CVE-2015-5313: libvirt - Directory traversal vulnerability in the virStorageBackendFileSystemVolCreate fu...
vendor_debian·2015·CVSS 2.5
CVE-2015-5313 [LOW] CVE-2015-5313: libvirt - Directory traversal vulnerability in the virStorageBackendFileSystemVolCreate fu...
Directory traversal vulnerability in the virStorageBackendFileSystemVolCreate function in storage/storage_backend_fs.c in libvirt, when fine-grained Access Control Lists (ACL) are in effect, allows local users with storage_vol:create ACL but not domain:write permission to write to arbitrary files via a .. (dot dot) in a volume name.
Scope: local
bookworm: resolved (fixed in 1.3.0-1)
bullseye: resolved (fixed in 1.3.0-1)
forky: resolved (fixed in 1.3.0-1)
sid: resolved (fixed in 1.3.0-1)
trixie: resolved (fixed in 1.3.0-1)
GHSA
GHSA-qr2q-8mvm-hxvr: Directory traversal vulnerability in the virStorageBackendFileSystemVolCreate function in storage/storage_backend_fs
ghsa_unreviewed·2022-05-14
CVE-2015-5313 [LOW] CWE-22 GHSA-qr2q-8mvm-hxvr: Directory traversal vulnerability in the virStorageBackendFileSystemVolCreate function in storage/storage_backend_fs
Directory traversal vulnerability in the virStorageBackendFileSystemVolCreate function in storage/storage_backend_fs.c in libvirt, when fine-grained Access Control Lists (ACL) are in effect, allows local users with storage_vol:create ACL but not domain:write permission to write to arbitrary files via a .. (dot dot) in a volume name.
OSV
CVE-2015-5313: Directory traversal vulnerability in the virStorageBackendFileSystemVolCreate function in storage/storage_backend_fs
osv·2016-04-11·CVSS 2.5
CVE-2015-5313 [LOW] CVE-2015-5313: Directory traversal vulnerability in the virStorageBackendFileSystemVolCreate function in storage/storage_backend_fs
Directory traversal vulnerability in the virStorageBackendFileSystemVolCreate function in storage/storage_backend_fs.c in libvirt, when fine-grained Access Control Lists (ACL) are in effect, allows local users with storage_vol:create ACL but not domain:write permission to write to arbitrary files via a .. (dot dot) in a volume name.
OSV
libvirt vulnerabilities
osv·2016-01-12·CVSS 5.9
CVE-2011-4600 [MEDIUM] libvirt vulnerabilities
libvirt vulnerabilities
It was discovered that libvirt incorrectly handled the firewall rules on
bridge networks when the daemon was restarted. This could result in an
unintended firewall configuration. This issue only applied to Ubuntu 12.04
LTS. (CVE-2011-4600)
Peter Krempa discovered that libvirt incorrectly handled locking when
certain ACL checks failed. A local attacker could use this issue to cause
libvirt to stop responding, resulting in a denial of service. This issue
only applied to Ubuntu 14.04 LTS. (CVE-2014-8136)
Luyao Huang discovered that libvirt incorrectly handled VNC passwords in
shapshot and image files. A remote authenticated user could use this issue
to possibly obtain VNC passwords. This issue only affected Ubuntu 14.04
LTS. (CVE-2015-0236)
Han Han discovered that
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2015-5313 libvirt: filesystem storage volume names path traversal flaw [fedora-all]
bugzilla·2015-12-14·CVSS 2.5
CVE-2015-5313 [LOW] CVE-2015-5313 libvirt: filesystem storage volume names path traversal flaw [fedora-all]
CVE-2015-5313 libvirt: filesystem storage volume names path traversal flaw [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported ve
Bugzilla
CVE-2015-5313 libvirt: filesystem storage volume names path traversal flaw
bugzilla·2015-11-02·CVSS 2.5
CVE-2015-5313 [LOW] CVE-2015-5313 libvirt: filesystem storage volume names path traversal flaw
CVE-2015-5313 libvirt: filesystem storage volume names path traversal flaw
A path traversal vulnerability allowing libvirtd process to write arbitrary files on file system using root permissions was found. The user with storage_vol:create ACL permission can exploit this vulnerability without the need of having write access to the libvirtd connection (domain:write permission).
Discussion:
Created attachment 1103765
proposed patch
---
Issue is now public:
https://www.redhat.com/archives/libvir-list/2015-December/msg00473.html
---
This issue is not considered to have any security impact on libvirt versions as shipped with Red Hat Enterprise Linux 6 and earlier. In those versions, this can only be exploited by privileged libvirtd users, who are already root equivalent. In libvirt 1.1.0
http://libvirt.org/git/?p=libvirt.git%3Ba=commit%3Bh=034e47c338b13a95cf02106a3af912c1c5f818d7http://lists.fedoraproject.org/pipermail/package-announce/2015-December/174404.htmlhttp://rhn.redhat.com/errata/RHSA-2016-2577.htmlhttp://security.libvirt.org/2015/0004.htmlhttp://www.securityfocus.com/bid/90913https://security.gentoo.org/glsa/201612-10https://www.redhat.com/archives/libvir-list/2015-December/msg00473.htmlhttp://libvirt.org/git/?p=libvirt.git%3Ba=commit%3Bh=034e47c338b13a95cf02106a3af912c1c5f818d7http://lists.fedoraproject.org/pipermail/package-announce/2015-December/174404.htmlhttp://rhn.redhat.com/errata/RHSA-2016-2577.htmlhttp://security.libvirt.org/2015/0004.htmlhttp://www.securityfocus.com/bid/90913https://security.gentoo.org/glsa/201612-10https://www.redhat.com/archives/libvir-list/2015-December/msg00473.html
2016-04-11
Published