| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.6 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Vendor
Name
Version
License
Website
- Vendor: https://www.gnu.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.7VulDB 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: 🔍
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: Partially
Local: Yes
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: 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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Upgrade: Patch 2.7.3
Patch: git.savannah.gnu.org
Timeline
01/21/2015 🔍01/25/2015 🔍
01/27/2015 🔍
02/02/2015 🔍
06/21/2015 🔍
08/25/2017 🔍
08/25/2017 🔍
08/27/2017 🔍
12/16/2022 🔍
Sources
Vendor: gnu.orgAdvisory: 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: 🔍
Entry
Created: 08/27/2017 06:51Updated: 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.

No comments yet. Languages: en.
Please log in to comment.