ID CVE-2017-6512
Summary Race condition in the rmtree and remove_tree functions in the File-Path module before 2.13 for Perl allows attackers to set the mode on arbitrary files via vectors involving directory-permission loosening logic.
References
Vulnerable Configurations
  • cpe:2.3:a:file\:\:path_project:file\:\:path:-:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:-:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:1.99_01:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:1.99_01:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:1.99_02:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:1.99_02:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.00_05:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.00_05:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.00_06:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.00_06:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.00_07:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.00_07:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.00_08:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.00_08:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.00_09:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.00_09:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.00_10:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.00_10:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.00_11:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.00_11:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.01:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.01:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.02:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.02:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.03:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.03:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.04:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.04:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.05:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.05:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.06:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.06:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.06_01:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.06_01:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.06_02:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.06_02:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.06_03:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.06_03:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.06_04:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.06_04:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.06_05:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.06_05:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.06_06:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.06_06:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.06_07:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.06_07:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.06_08:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.06_08:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.07:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.07:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.07_03:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.07_03:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.08:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.08:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.09:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.09:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.10_001:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.10_001:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.10_002:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.10_002:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.10_003:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.10_003:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.10_004:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.10_004:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.10_005:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.10_005:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.11:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.11:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.11_001:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.11_001:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.11_002:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.11_002:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.11_003:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.11_003:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.11_004:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.11_004:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.12:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.12:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.12_001:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.12_001:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.12_002:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.12_002:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.12_003:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.12_003:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.12_004:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.12_004:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.12_005:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.12_005:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.12_006:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.12_006:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.12_007:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.12_007:*:*:*:*:perl:*:*
  • cpe:2.3:a:file\:\:path_project:file\:\:path:2.12_008:*:*:*:*:perl:*:*
    cpe:2.3:a:file\:\:path_project:file\:\:path:2.12_008:*:*:*:*:perl:*:*
  • cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*
    cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*
  • cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
    cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
  • cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
    cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
  • cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*
    cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
CVSS
Base: 4.3 (as of 29-04-2020 - 20:24)
Impact:
Exploitability:
CWE CWE-362
CAPEC
  • Leveraging Race Conditions
    The adversary targets a race condition occurring when multiple processes access and manipulate the same resource concurrently, and the outcome of the execution depends on the particular order in which the access takes place. The adversary can leverage a race condition by "running the race", modifying the resource and modifying the normal execution flow. For instance, a race condition can occur while accessing a file: the adversary can trick the system by replacing the original file with his version and cause the system to read the malicious file.
  • Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions
    This attack targets a race condition occurring between the time of check (state) for a resource and the time of use of a resource. A typical example is file access. The adversary can leverage a file access race condition by "running the race", meaning that they would modify the resource between the first time the target program accesses the file and the time the target program uses the file. During that period of time, the adversary could replace or modify the file, causing the application to behave unexpectedly.
Access
VectorComplexityAuthentication
NETWORK MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
NONE PARTIAL NONE
cvss-vector via4 AV:N/AC:M/Au:N/C:N/I:P/A:N
refmap via4
bid 99180
confirm
debian DSA-3873
gentoo GLSA-201709-12
sectrack 1038610
ubuntu
  • USN-3625-1
  • USN-3625-2
Last major update 29-04-2020 - 20:24
Published 01-06-2017 - 16:29
Last modified 29-04-2020 - 20:24
Back to Top