dpkg 1.3.0 Header 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.
5.0$0-$5k0.00

Summaryinfo

A vulnerability described as problematic has been identified in dpkg 1.3.0. This issue affects some unknown processing. Such manipulation as part of Header leads to path traversal. This vulnerability is traded as CVE-2014-3865. Furthermore, there is an exploit available.

Detailsinfo

A vulnerability was found in dpkg 1.3.0 and classified as problematic. Affected by this issue is an unknown code block. The manipulation as part of a Header 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. CVE summarizes:

Multiple directory traversal vulnerabilities in dpkg-source in dpkg-dev 1.3.0 allow remote attackers to modify files outside of the intended directories via a source package with a crafted Index: pseudo-header in conjunction with (1) missing --- and +++ header lines or (2) a +++ header line with a blank pathname.

The weakness was shared 05/24/2014 by Guillem Jover as #749183 as confirmed bug report (Bug Tracker). The advisory is shared for download at bugs.debian.org. The public release happened without coordination with the vendor. This vulnerability is handled as CVE-2014-3865 since 05/25/2014. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. Technical details are unknown but a public exploit is available. The MITRE ATT&CK project declares the attack technique as T1006. The advisory points out:

The Dpkg::Source::Patch module does not properly parse and validate patches, and lets doctored patches through that: 1) use an «Index:» pseudo-header with a pathname that does a directory traversal, and 2) have either no «--- » and «+++ » header lines, or have only a «+++ » with an empty pathname.

A public exploit has been developed by Guillem Jover in DPKG and been published immediately after the advisory. The exploit is available at bugs.debian.org. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 77066 (Fedora 19 : dpkg-1.16.15-1.fc19 (2014-8564)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 195519 (Ubuntu Security Notification for Dpkg Vulnerabilities (USN-2242-1)). The code used by the exploit is:

Index: index/symlink/index-file
@@ -0,0 +1,1 @@
+Escaped

There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.

The vulnerability is also documented in the databases at X-Force (93506), Exploit-DB (39207), Tenable (77066), SecurityFocus (BID 67727†) and Vulnerability Center (SBV-47401†). seclists.org is providing further details. The entry VDB-69872 is related to this item. 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: 5.3
VulDB Meta Temp Score: 5.0

VulDB Base Score: 5.3
VulDB Temp Score: 5.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

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: 🔍
Access: Public
Status: Proof-of-Concept
Author: Guillem Jover
Programming Language: 🔍
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 77066
Nessus Name: Fedora 19 : dpkg-1.16.15-1.fc19 (2014-8564)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

OpenVAS ID: 702953
OpenVAS Name: Debian Security Advisory DSA 2953-1 (dpkg - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔍
Exploit Delay Time: 🔍

Timelineinfo

05/24/2014 🔍
05/24/2014 +0 days 🔍
05/25/2014 +1 days 🔍
05/25/2014 +0 days 🔍
05/25/2014 +0 days 🔍
05/30/2014 +5 days 🔍
06/03/2014 +4 days 🔍
12/03/2014 +183 days 🔍
11/24/2024 +3644 days 🔍

Sourcesinfo

Advisory: #749183
Researcher: Guillem Jover
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2014-3865 (🔍)
GCVE (CVE): GCVE-0-2014-3865
GCVE (VulDB): GCVE-100-13424

OVAL: 🔍

X-Force: 93506 - dpkg pseudo headers directoruy traversal, Low Risk
SecurityFocus: 67727 - dpkg Source Package Index: pseudo-header Processing Multiple Local Directory Traversal Vulnerability
Vulnerability Center: 47401 - Dpkg-dev 1.3.0 Remote Directory Traversal Vulnerability via a Source Package with a Crafted Index, Medium

scip Labs: https://www.scip.ch/en/?labs.20161013
Misc.: 🔍
See also: 🔍

Entryinfo

Created: 06/03/2014 16:56
Updated: 11/24/2024 09:47
Changes: 06/03/2014 16:56 (75), 06/13/2017 08:48 (11), 06/20/2021 14:44 (3), 11/24/2024 09:47 (15)
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.

Want to know what is going to be exploited?

We predict KEV entries!