Perl up to 5.26.2 Archive::Tar Archive File path traversal
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.8 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.0VulDB 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: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Path traversalCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
Exposure Time: 🔍
Timeline
06/07/2018 🔍06/07/2018 🔍
06/07/2018 🔍
06/07/2018 🔍
06/08/2018 🔍
06/08/2018 🔍
06/08/2018 🔍
07/17/2018 🔍
07/18/2018 🔍
03/22/2023 🔍
Sources
Advisory: RHSA-2019:2097Researcher: 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: 🔍
Entry
Created: 06/08/2018 08:43Updated: 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.
No comments yet. Languages: en.
Please log in to comment.