RCE in Vim
CVE-2008-3075
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.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v2 metric
CVSS v2 base score 9.3 (High). Vector: AV:N/AC:M/Au:N/C:C/I:C/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.043, 91.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Vim — versions 7.0, 7.1, 7.1.266
- Vim Zipplugin.vim — versions v.11, v.12, v.13
Weakness classification (CWE)
References
- SUSE-SR:2009:007 (vendor-advisory)
- www.rdancer.org/vulnerablevim.html (Exploit, Patch, Vendor Advisory)
- [oss-security] 20080715 Re: Re: More arbitrary code executions in Netrw (mailing-list, Patch)
- [oss-security] 20081020 CVE request (vim) (mailing-list)
- oval:org.mitre.oval:def:10246 (signature, vdb-entry)
- [oss-security] 20080713 Re: Re: More arbitrary code executions in Netrw version 125, Vim 7.2a.10 (mailing-list)
- RHSA-2008:0580 (vendor-advisory)
- secunia.com/advisories/34418 (third-party-advisory)
- [oss-security] 20080707 Re: More arbitrary code executions in Netrw version 125, Vim 7.2a.10 (mailing-list, Exploit)
- [oss-security] 20080731 Re: Re: More arbitrary code executions in Netrw version 125, Vim 7.2a.10 (mailing-list)