Privilege escalation in File::Path extension for Perl



Published: 2017-06-05
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2017-6512
CWE-ID CWE-362
Exploitation vector Local
Public exploit N/A
Vulnerable software
Subscribe
File-Path
Universal components / Libraries / Libraries used by multiple products

Vendor Perl

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Race condition

EUVDB-ID: #VU6900

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 - Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Exploit availability: No

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.



###SIDEBAR###