Vim zipPlugin.vim up to V.21 Mapping shellescape code injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 9.5 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Type
Vendor
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 10.0VulDB Meta Temp Score: 9.5
VulDB Base Score: 10.0
VulDB Temp Score: 9.5
VulDB Vector: 🔍
VulDB Reliability: 🔍
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: Code injectionCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Timeline
07/08/2008 🔍07/16/2008 🔍
10/17/2008 🔍
10/17/2008 🔍
11/26/2008 🔍
12/02/2008 🔍
02/21/2009 🔍
02/21/2009 🔍
03/25/2009 🔍
01/06/2010 🔍
03/17/2015 🔍
08/21/2019 🔍
Sources
Advisory: rdancer.orgStatus: 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: 🔍
Entry
Created: 03/17/2015 16:11Updated: 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.
No comments yet. Languages: en.
Please log in to comment.