Perl up to 5.26.2 Archive::Tar Archive File path traversal

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.
6.8$0-$5k0.00

Summaryinfo

A vulnerability classified as critical was found in Perl up to 5.26.2. Affected by this issue is the function Archive::Tar. Such manipulation as part of Archive File leads to path traversal. This vulnerability is uniquely identified as CVE-2018-12015. The attack can be launched remotely. No exploit exists. Upgrading the affected component is advised.

Detailsinfo

A vulnerability, which was classified as critical, has been found in Perl up to 5.26.2 (Programming Language Software). Affected by this issue is the function Archive::Tar. The manipulation as part of a Archive File leads to a path traversal vulnerability. Using CWE to declare the problem leads to CWE-22. The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. Impacted is integrity, and availability. CVE summarizes:

In Perl through 5.26.2, the Archive::Tar module allows remote attackers to bypass a directory-traversal protection mechanism, and overwrite arbitrary files, via an archive file containing a symlink and a regular file with the same name.

The bug was discovered 06/08/2018. The weakness was disclosed 06/07/2018 by Jakub Wilk (Website). The advisory is shared for download at bugs.debian.org. This vulnerability is handled as CVE-2018-12015 since 06/07/2018. The exploitation is known to be easy. 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 MITRE ATT&CK project declares the attack technique as T1006.

The vulnerability scanner Nessus provides a plugin with the ID 111150 (SUSE SLED12 / SLES12 Security Update : perl (SUSE-SU-2018:1972-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 171279 (SUSE Enterprise Linux Security Update for perl (SUSE-SU-2018:1992-1)).

Upgrading eliminates this vulnerability. A possible mitigation has been published 2 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (111150), SecurityFocus (BID 104423†) and SecurityTracker (ID 1041048†). The entries VDB-116304, VDB-116305, VDB-116306 and VDB-126325 are pretty similar. Once again VulDB remains the best source for vulnerability data.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.0
VulDB Meta Temp Score: 6.8

VulDB Base Score: 6.5
VulDB Temp Score: 6.2
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.5
NVD Vector: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Path traversal
CWE: CWE-22
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: 111150
Nessus Name: SUSE SLED12 / SLES12 Security Update : perl (SUSE-SU-2018:1972-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
Exposure Time: 🔍

Timelineinfo

06/07/2018 🔍
06/07/2018 +0 days 🔍
06/07/2018 +0 days 🔍
06/07/2018 +0 days 🔍
06/08/2018 +1 days 🔍
06/08/2018 +0 days 🔍
06/08/2018 +0 days 🔍
07/17/2018 +39 days 🔍
07/18/2018 +1 days 🔍
03/22/2023 +1708 days 🔍

Sourcesinfo

Advisory: RHSA-2019:2097
Researcher: Jakub Wilk
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2018-12015 (🔍)
GCVE (CVE): GCVE-0-2018-12015
GCVE (VulDB): GCVE-100-119252

OVAL: 🔍

SecurityFocus: 104423 - Perl CVE-2018-12015 Directory Traversal Vulnerability
SecurityTracker: 1041048

See also: 🔍

Entryinfo

Created: 06/08/2018 08:43
Updated: 03/22/2023 08:43
Changes: 06/08/2018 08:43 (78), 02/17/2020 15:56 (7), 03/22/2023 08:43 (4)
Complete: 🔍
Cache ID: 216::103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!