#VU6900 Race condition in File-Path


Published: 2017-06-05 | Updated: 2017-06-05

Vulnerability identifier: #VU6900

Vulnerability risk: Low

CVSSv3.1: 5.5 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2017-6512

CWE-ID: CWE-362

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
File-Path
Universal components / Libraries / Libraries used by multiple products

Vendor: Perl

Description
The vulnerability allows a local user to bypass certain security restrictions.

the vulnerability exists due to a race condition in rmtree() and remove_tree() functions within the File-Path module for Perl. A local user can set a mode on arbitrary files via vectors involving directory-permission loosening logic.

Successful exploitation of the vulnerability may allow an attacker to escalate privileges on the system.

Mitigation
Update File::Path module to version 2.13.

Vulnerable software versions

File-Path: 2.12


External links
http://cpansearch.perl.org/src/JKEENAN/File-Path-2.13/Changes
http://rt.cpan.org/Public/Bug/Display.html?id=121951


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability