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, 87.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Vim — versions 7.0, 7.1
Weakness classification (CWE)
References
- SUSE-SR:2009:007 (vendor-advisory)
- www.rdancer.org/vulnerablevim-netrw.v5.html (Exploit, Vendor Advisory)
- [oss-security] 20081020 CVE request (vim) (mailing-list)
- www.rdancer.org/vulnerablevim-netrw.html (Exploit, Patch, Vendor Advisory)
- [oss-security] 20081016 CVE request - Vim netrw.plugin (mailing-list, Exploit)
- RHSA-2008:0580 (vendor-advisory)
- secunia.com/advisories/34418 (third-party-advisory)
- oval:org.mitre.oval:def:11247 (signature, vdb-entry)
- www.rdancer.org/vulnerablevim-netrw.v2.html (Patch)