File-Path Module up to 2.12 on Perl rmtree/remove_tree race condition

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.7$0-$5k0.00

Summaryinfo

A vulnerability labeled as problematic has been found in File-Path Module up to 2.12 on Perl. The affected element is the function rmtree/remove_tree. Such manipulation leads to race condition. This vulnerability is listed as CVE-2017-6512. The attack may be performed from remote. There is no available exploit. The affected component should be upgraded.

Detailsinfo

A vulnerability was found in File-Path Module up to 2.12 on Perl. It has been rated as problematic. Affected by this issue is the function rmtree/remove_tree. The manipulation with an unknown input leads to a race condition vulnerability. Using CWE to declare the problem leads to CWE-362. The product contains a code sequence that can run concurrently with other code, and the code sequence requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence that is operating concurrently. Impacted is integrity. CVE summarizes:

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.

The bug was discovered 06/05/2017. The weakness was presented 06/01/2017 (Website). The advisory is shared for download at cpansearch.perl.org. This vulnerability is handled as CVE-2017-6512. The attack may be launched remotely. No form of authentication is required for exploitation. There are known technical details, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 100624 (Debian DLA-978-1 : perl security update), which helps to determine the existence of the flaw in a target environment. It is running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 170500 (SUSE Enterprise Linux Security Update for perl (SUSE-SU-2017:3092-1)).

Upgrading to version 2.13 eliminates this vulnerability. A possible mitigation has been published 4 days after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (100624) and SecurityFocus (BID 99180†). VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 4.8
VulDB Meta Temp Score: 4.7

VulDB Base Score: 3.7
VulDB Temp Score: 3.6
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 5.9
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Race condition
CWE: CWE-362
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 100624
Nessus Name: Debian DLA-978-1 : perl security update
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 703873
OpenVAS Name: Debian Security Advisory DSA 3873-1 (perl - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: File-Path Module 2.13

Timelineinfo

03/07/2017 🔍
06/01/2017 +17084 days 🔍
06/01/2017 +0 days 🔍
06/01/2017 +0 days 🔍
06/05/2017 +4 days 🔍
06/05/2017 +0 days 🔍
06/06/2017 +1 days 🔍
06/21/2017 +15 days 🔍
12/07/2022 +1995 days 🔍

Sourcesinfo

Advisory: USN-3625-1
Status: Not defined
Confirmation: 🔍

CVE: CVE-2017-6512 (🔍)
GCVE (CVE): GCVE-0-2017-6512
GCVE (VulDB): GCVE-100-101888

OVAL: 🔍

SecurityFocus: 99180 - File-Path Module CVE-2017-6512 Multiple Security Bypass Vulnerabilities
SecurityTracker: 1038610

Entryinfo

Created: 06/01/2017 23:40
Updated: 12/07/2022 14:30
Changes: 06/01/2017 23:40 (75), 10/13/2019 09:41 (5), 10/04/2020 09:37 (1), 12/07/2022 14:30 (4)
Complete: 🔍
Cache ID: 216::103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!