RCE in Vim
CVE-2008-6235
The Netrw plugin (netrw.vim) in Vim 7.0 and 7.1 allows user-assisted attackers to execute arbitrary commands via shell metacharacters in a filename used by the (1) "D" (delete) command or (2) b:netrw_curdir variable, as demonstrated using the netrw.v4 and netrw.v5 test cases.
Vulnerability class: Command Injection (OS Command Injection)
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.030 (86.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 87th percentile — 86.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.030 · newest: 0.030 · change: 0.000
Affected products
- Vim — versions 7.0, 7.1
Weakness classification (CWE)
References
- lists.opensuse.org/opensuse-security-announce/2009-03/msg00004.html (vendor-advisory)
- www.rdancer.org/vulnerablevim-netrw.v5.html (Exploit, Vendor Advisory)
- www.openwall.com/lists/oss-security/2008/10/20/2 (mailing-list)
- www.rdancer.org/vulnerablevim-netrw.html (Exploit, Patch, Vendor Advisory)
- www.openwall.com/lists/oss-security/2008/10/16/2 (mailing-list, Exploit)
- www.redhat.com/support/errata/RHSA-2008-0580.html (vendor-advisory)
- secunia.com/advisories/34418 (third-party-advisory)
- oval.cisecurity.org/repository/search/definition/oval:org.mitre.oval:def:11247 (signature, vdb-entry)
- www.rdancer.org/vulnerablevim-netrw.v2.html (Patch)