National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2008-3076 Detail

Description

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.

Source:  MITRE      Last Modified:  02/21/2009

Quick Info

CVE Dictionary Entry:
CVE-2008-3076
Original release date:
02/21/2009
Last revised:
08/07/2017
Source:
US-CERT/NIST

Impact

CVSS Severity (version 2.0):
CVSS v2 Base Score:
9.3 HIGH
Vector:
(AV:N/AC:M/Au:N/C:C/I:C/A:C) (legend)
Impact Subscore:
10.0
Exploitability Subscore:
8.6
CVSS Version 2 Metrics:
Access Vector:
Network exploitable - Victim must voluntarily interact with attack mechanism
Access Complexity:
Medium
Authentication:
Not required to exploit
Impact Type:
Allows unauthorized disclosure of information; Allows unauthorized modification; Allows disruption of service

Vendor Statements (disclaimer)

Official Statement from Red Hat (02/25/2009)

Not vulnerable. This issue did not affect the versions of the Vim packages, as shipped with Red Hat Enterprise Linux 2.1, 3, 4, and 5. Note: This CVE is mentioned in the text of RHSA-2008:0580 (https://rhn.redhat.com/errata/RHSA-2008-0580.html), as it was originally used to track multiple issues. Issues that affected Vim packages in Red Hat Enterprise Linux 5 were later assigned separate CVE identifier - CVE-2008-6235. Neither of issues currently covered by CVE-2008-3076 (insufficient shell escaping in mz and mc commands) affected Vim packages shipped with Red Hat Enterprise Linux 5.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource Type Source Name
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506919 External Source CONFIRM http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506919
http://lists.opensuse.org/opensuse-security-announce/2009-03/msg00004.html External Source SUSE SUSE-SR:2009:007
http://marc.info/?l=bugtraq&m=121494431426308&w=2 External Source BUGTRAQ 20080701 Re: Collection of Vulnerabilities in Fully Patched Vim 7.1
http://marc.info/?l=oss-security&m=122416184431388&w=2 Exploit External Source MLIST [oss-security] 20081016 CVE request - Vim netrw.plugin
http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0324 External Source CONFIRM http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0324
http://www.mandriva.com/security/advisories?name=MDVSA-2008:236 External Source MANDRIVA MDVSA-2008:236
http://www.openwall.com/lists/oss-security/2008/07/07/1 Exploit External Source MLIST [oss-security] 20080707 Re: More arbitrary code executions in Netrw version 125, Vim 7.2a.10
http://www.openwall.com/lists/oss-security/2008/07/07/4 Exploit; Patch External Source MLIST [oss-security] 20080707 Re: More arbitrary code executions in Netrw version 125, Vim 7.2a.10
http://www.openwall.com/lists/oss-security/2008/07/08/12 External Source MLIST [oss-security] 20080708 Re: More arbitrary code executions in Netrw version 125, Vim 7.2a.10
http://www.openwall.com/lists/oss-security/2008/10/20/2 External Source MLIST [oss-security] 20081020 CVE request (vim)
http://www.rdancer.org/vulnerablevim-netrw.html Exploit; Patch; Vendor Advisory External Source MISC http://www.rdancer.org/vulnerablevim-netrw.html
http://www.rdancer.org/vulnerablevim-netrw.v2.html Exploit; Patch; Vendor Advisory External Source MISC http://www.rdancer.org/vulnerablevim-netrw.v2.html
http://www.redhat.com/support/errata/RHSA-2008-0580.html External Source REDHAT RHSA-2008:0580
http://www.securityfocus.com/bid/30115 Exploit External Source BID 30115
https://exchange.xforce.ibmcloud.com/vulnerabilities/43624 External Source XF netrw-multiple-code-execution(43624)

Technical Details

Vulnerability Type (View All)

  • OS Command Injections (CWE-78)

Vulnerable software and versions Switch to CPE 2.2

Configuration 1
OR
cpe:2.3:a:vim:vim:7.2a.10:*:*:*:*:*:*:*

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History 3 change records found - show changes