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 (90.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 91st percentile — 90.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.043 · newest: 0.043 · change: 0.000
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
- lists.opensuse.org/opensuse-security-announce/2009-03/msg00004.html (vendor-advisory)
- www.rdancer.org/vulnerablevim.html (Exploit, Patch, Vendor Advisory)
- www.openwall.com/lists/oss-security/2008/07/15/4 (mailing-list, Patch)
- www.openwall.com/lists/oss-security/2008/10/20/2 (mailing-list)
- oval.cisecurity.org/repository/search/definition/oval:org.mitre.oval:def:10246 (signature, vdb-entry)
- www.openwall.com/lists/oss-security/2008/07/13/1 (mailing-list)
- www.redhat.com/support/errata/RHSA-2008-0580.html (vendor-advisory)
- secunia.com/advisories/34418 (third-party-advisory)
- www.openwall.com/lists/oss-security/2008/07/07/1 (mailing-list, Exploit)
- www.openwall.com/lists/oss-security/2008/08/01/1 (mailing-list)