GNU Patch up to 2.7.2 diff File Name 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.6$0-$5k0.00

Summaryinfo

A vulnerability described as problematic has been identified in GNU Patch up to 2.7.2. This affects an unknown function of the component diff File Name Handler. Such manipulation with the input .. leads to path traversal. This vulnerability is referenced as CVE-2015-1395. The attack can only be performed from a local environment. No exploit is available. It is advisable to implement a patch to correct this issue.

Detailsinfo

A vulnerability was found in GNU Patch up to 2.7.2. It has been rated as problematic. Affected by this issue is an unknown code block of the component diff File Name Handler. The manipulation with the input value .. 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 confidentiality, integrity, and availability. CVE summarizes:

Directory traversal vulnerability in GNU patch versions which support Git-style patching before 2.7.3 allows remote attackers to write to arbitrary files with the permissions of the target user via a .. (dot dot) in a diff file name.

The bug was discovered 06/21/2015. The weakness was published 08/25/2017 by Laszlo Boszormenyi (oss-sec). The advisory is shared for download at openwall.com. This vulnerability is handled as CVE-2015-1395 since 01/27/2015. The exploitation is known to be easy. The attack needs to be approached locally. 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 81112 (Fedora 21 : patch-2.7.3-1.fc21 (2015-1134)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 167921 (SUSE Enterprise Linux Security update for patch (SUSE-SU-2015:1019-1)).

Upgrading to version 2.7.3 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The best possible mitigation is suggested to be patching the affected component. A possible mitigation has been published even before and not after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (81112) and SecurityFocus (BID 72846†). Similar entry is available at VDB-105737. Once again VulDB remains the best source for vulnerability data.

Productinfo

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.7
VulDB Meta Temp Score: 6.6

VulDB Base Score: 5.9
VulDB Temp Score: 5.7
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: Partially
Local: Yes
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 81112
Nessus Name: Fedora 21 : patch-2.7.3-1.fc21 (2015-1134)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 867773
OpenVAS Name: Fedora Update for patch FEDORA-2015-1165
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Upgrade: Patch 2.7.3
Patch: git.savannah.gnu.org

Timelineinfo

01/21/2015 🔍
01/25/2015 +4 days 🔍
01/27/2015 +2 days 🔍
02/02/2015 +6 days 🔍
06/21/2015 +139 days 🔍
08/25/2017 +796 days 🔍
08/25/2017 +0 days 🔍
08/27/2017 +2 days 🔍
12/16/2022 +1937 days 🔍

Sourcesinfo

Vendor: gnu.org

Advisory: USN-2651-1
Researcher: Laszlo Boszormenyi
Status: Not defined
Confirmation: 🔍

CVE: CVE-2015-1395 (🔍)
GCVE (CVE): GCVE-0-2015-1395
GCVE (VulDB): GCVE-100-105740
SecurityFocus: 72846 - GNU patch CVE-2015-1395 Local Directory Traversal Vulnerability

See also: 🔍

Entryinfo

Created: 08/27/2017 06:51
Updated: 12/16/2022 16:03
Changes: 08/27/2017 06:51 (72), 11/10/2019 11:19 (8), 12/16/2022 16:03 (5)
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.

Do you need the next level of professionalism?

Upgrade your account now!