Vim zipPlugin.vim up to V.21 Mapping shellescape code injection

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

Summaryinfo

A vulnerability was found in Vim zipPlugin.vim up to V.21. It has been rated as critical. This affects the function shellescape of the component Mapping. The manipulation leads to code injection. This vulnerability is uniquely identified as CVE-2008-3075. No exploit exists. Upgrading the affected component is advised.

Detailsinfo

A vulnerability was found in Vim zipPlugin.vim up to V.21 (Word Processing Software) and classified as very critical. This issue affects the function shellescape of the component Mapping. The manipulation with an unknown input leads to a code injection vulnerability. Using CWE to declare the problem leads to CWE-94. The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

The shellescape function in Vim 7.0 through 7.2, including 7.2a.10, allows user-assisted attackers to execute arbitrary code via the "!" (exclamation point) shell metacharacter in (1) the filename of a ZIP archive and possibly (2) the filename of the first file in a ZIP archive, which is not properly handled by zip.vim in the VIM ZIP plugin (zipPlugin.vim) v.11 through v.21, as demonstrated by the zipplugin and zipplugin.v2 test cases. NOTE: this issue reportedly exists because of an incomplete fix for CVE-2008-2712. NOTE: this issue has the same root cause as CVE-2008-3074. NOTE: due to the complexity of the associated disclosures and the incomplete information related to them, there may be inaccuracies in this CVE description and in external mappings to this identifier.

The bug was discovered 07/16/2008. The weakness was disclosed 02/21/2009 (Website). The advisory is shared at rdancer.org. The identification of this vulnerability is CVE-2008-3075 since 07/08/2008. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details are known, but no exploit is available. The price for an exploit might be around USD $0-$5k at the moment (estimation calculated on 08/21/2019). MITRE ATT&CK project uses the attack technique T1059 for this issue.

The vulnerability was handled as a non-public zero-day exploit for at least 133 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 43697 (CentOS 5 : vim (CESA-2008:0580)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CentOS Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 175157 (Debian Security Update for Vim (DSA-1733)).

Upgrading eliminates this vulnerability. A possible mitigation has been published before and not just after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (47786), Tenable (43697), SecurityFocus (BID 32463†), OSVDB (52162†) and Secunia (SA34418†). The entries VDB-3736, VDB-46699, VDB-46698 and VDB-46696 are pretty similar. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Productinfo

Type

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 10.0
VulDB Meta Temp Score: 9.5

VulDB Base Score: 10.0
VulDB Temp Score: 9.5
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Code injection
CWE: CWE-94 / CWE-74 / CWE-707
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: 43697
Nessus Name: CentOS 5 : vim (CESA-2008:0580)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 63500
OpenVAS Name: Debian Security Advisory DSA 1733-1 (vim)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Timelineinfo

07/08/2008 🔍
07/16/2008 +8 days 🔍
10/17/2008 +93 days 🔍
10/17/2008 +0 days 🔍
11/26/2008 +40 days 🔍
12/02/2008 +6 days 🔍
02/21/2009 +81 days 🔍
02/21/2009 +0 days 🔍
03/25/2009 +32 days 🔍
01/06/2010 +287 days 🔍
03/17/2015 +1896 days 🔍
08/21/2019 +1618 days 🔍

Sourcesinfo

Advisory: rdancer.org
Status: Not defined
Confirmation: 🔍

CVE: CVE-2008-3075 (🔍)
GCVE (CVE): GCVE-0-2008-3075
GCVE (VulDB): GCVE-100-46697

OVAL: 🔍

X-Force: 47786
SecurityFocus: 32463 - Vim 'zip.vim' Plugin Arbitrary Command Execution Vulnerability
Secunia: 34418 - SUSE Update for Multiple Packages, Highly Critical
OSVDB: 52162 - CVE-2008-3075 - Vim - Code Execution Issue
Vulnerability Center: 20086 - VIM Development Group Vim 7.0 - 7.2 ZIP Plugin Arbitrary Code Execution Vulnerability, Medium

See also: 🔍

Entryinfo

Created: 03/17/2015 16:11
Updated: 08/21/2019 10:48
Changes: 03/17/2015 16:11 (80), 08/21/2019 10:48 (5)
Complete: 🔍
Cache ID: 216:54A:103

Several companies clearly confirm that VulDB is the primary source for best 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!