2.5
LOW
CVE-2015-5313
Libvirt Directory Traversal Remote File Write
Description

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.

INFO

Published Date :

April 11, 2016, 9:59 p.m.

Last Modified :

Feb. 13, 2023, 12:53 a.m.

Remotely Exploitable :

No

Impact Score :

1.4

Exploitability Score :

1.0
Affected Products

The following products are affected by CVE-2015-5313 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat libvirt

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2015-5313 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2015-5313 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Feb. 13, 2023

    Action Type Old Value New Value
    Changed Description 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. 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.
    Removed CVSS V2 Red Hat, Inc. (AV:N/AC:H/Au:S/C:N/I:C/A:N)
    Removed Reference https://access.redhat.com/errata/RHSA-2016:2577 [No Types Assigned]
    Removed Reference https://access.redhat.com/security/cve/CVE-2015-5313 [No Types Assigned]
    Removed Reference https://bugzilla.redhat.com/show_bug.cgi?id=1277121 [No Types Assigned]
  • CVE Modified by [email protected]

    Feb. 02, 2023

    Action Type Old Value New Value
    Changed Description 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.
    Added CVSS V2 Red Hat, Inc. (AV:N/AC:H/Au:S/C:N/I:C/A:N)
    Removed Reference http://libvirt.org/git/?p=libvirt.git;a=commit;h=034e47c338b13a95cf02106a3af912c1c5f818d7 [No Types Assigned]
    Added Reference https://access.redhat.com/security/cve/CVE-2015-5313 [No Types Assigned]
    Added Reference http://libvirt.org/git/?p=libvirt.git%3Ba=commit%3Bh=034e47c338b13a95cf02106a3af912c1c5f818d7 [No Types Assigned]
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=1277121 [No Types Assigned]
    Added Reference https://access.redhat.com/errata/RHSA-2016:2577 [No Types Assigned]
  • CVE Modified by [email protected]

    Jan. 05, 2018

    Action Type Old Value New Value
    Added Reference http://rhn.redhat.com/errata/RHSA-2016-2577.html [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 01, 2017

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/201612-10 [No Types Assigned]
  • CVE Modified by [email protected]

    Nov. 28, 2016

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/90913 [No Types Assigned]
  • Modified Analysis by [email protected]

    Apr. 20, 2016

    Action Type Old Value New Value
    Added CPE Configuration Configuration 1 OR *cpe:2.3:a:redhat:libvirt:-:*:*:*:*:*:*:*
    Added CVSS V2 (AV:L/AC:M/Au:N/C:N/I:P/A:N)
    Added CVSS V3 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
    Changed Reference Type http://security.libvirt.org/2015/0004.html No Types Assigned http://security.libvirt.org/2015/0004.html Advisory, Patch
    Added CWE CWE-22
  • Initial Analysis by [email protected]

    Apr. 18, 2016

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2015-5313 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.04 }} 0.00%

score

0.05635

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability