RCE in Vim
CVE-2008-3076
The Netrw plugin 125 in netrw.vim in Vim 7.2a.10 allows user-assisted attackers to execute arbitrary code via shell metacharacters in filenames used by the execute and system functions within the (1) mz and (2) mc commands, as demonstrated by the netrw.v2 and netrw.v3 test cases. NOTE: this issue reportedly exists because of an incomplete fix for CVE-2008-2712.
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.090, 95.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Vim — versions 7.2a.10
Weakness classification (CWE)
References
- SUSE-SR:2009:007 (vendor-advisory)
- [oss-security] 20081016 CVE request - Vim netrw.plugin (mailing-list, Exploit)
- [oss-security] 20081020 CVE request (vim) (mailing-list)
- www.rdancer.org/vulnerablevim-netrw.html (Exploit, Patch, Vendor Advisory)
- 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)
- www.securityfocus.com/bid/30115 (Exploit, vdb-entry)
- www.rdancer.org/vulnerablevim-netrw.v2.html (Exploit, Patch, Vendor Advisory)
- wiki.rpath.com/wiki/Advisories:rPSA-2008-0324