| Reporter | Title | Published | Views | Family All 142 |
|---|---|---|---|---|
| vim -- multiple vulnerabilities in the netrw module | 16 Oct 200800:00 | – | freebsd | |
| vim -- Vim Shell Command Injection Vulnerabilities | 16 Jun 200800:00 | – | freebsd | |
| CentOS 5 : vim (CESA-2008:0580) | 6 Jan 201000:00 | – | nessus | |
| CentOS 3 / 4 : vim (CESA-2008:0617) | 23 Apr 200900:00 | – | nessus | |
| Debian DSA-1733-1 : vim - several vulnerabilities | 4 Mar 200900:00 | – | nessus | |
| FreeBSD : vim -- multiple vulnerabilities in the netrw module (0e1e3789-d87f-11dd-8ecd-00163e000016) | 2 Jan 200900:00 | – | nessus | |
| FreeBSD : vim -- Vim Shell Command Injection Vulnerabilities (30866e6c-3c6d-11dd-98c9-00163e000016) | 24 Jun 200800:00 | – | nessus | |
| Mac OS X Multiple Vulnerabilities (Security Update 2008-007) | 10 Oct 200800:00 | – | nessus | |
| Mac OS X Multiple Vulnerabilities (Security Update 2010-002) | 29 Mar 201000:00 | – | nessus | |
| Mandriva Linux Security Advisory : vim (MDVSA-2008:236-1) | 23 Apr 200900:00 | – | nessus |
| Source | Link |
|---|---|
| rdancer | www.rdancer.org/vulnerablevim-shellescape.html |
| secunia | www.secunia.com/advisories/30731/ |
##############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_vim_shell_cmd_injection_vuln_win_900411.nasl 5370 2017-02-20 15:24:26Z cfi $
# Description: Vim Shell Command Injection Vulnerability (Windows)
#
# Authors:
# Sujit Ghosal <[email protected]>
#
# Copyright:
# Copyright (C) 2008 SecPod, http://www.secpod.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
##############################################################################
tag_impact = "Successful exploitation will let the attacker execute arbitrary shell commands
to compromise the system.
Impact Level: Application";
tag_affected = "Vim version prior to 7.2 on Windows.";
tag_insight = "This error is due to the 'filetype.vim', 'tar.vim', 'zip.vim', 'xpm.vim',
'xpm2.vim', 'gzip.vim', and 'netrw.vim' scripts which are insufficiently
filtering escape characters.";
tag_solution = "Upgrade to version 7.2
http://www.vim.org/download.php";
tag_summary = "This host is installed with Vim and is prone to Command Injection
Vulnerability.";
if(description)
{
script_id(900411);
script_version("$Revision: 5370 $");
script_tag(name:"last_modification", value:"$Date: 2017-02-20 16:24:26 +0100 (Mon, 20 Feb 2017) $");
script_tag(name:"creation_date", value:"2008-12-02 11:52:55 +0100 (Tue, 02 Dec 2008)");
script_bugtraq_id(32462);
script_cve_id("CVE-2008-2712", "CVE-2008-3074", "CVE-2008-3075", "CVE-2008-3076");
script_copyright("Copyright (C) 2008 SecPod");
script_tag(name:"cvss_base", value:"9.3");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:C/I:C/A:C");
script_category(ACT_GATHER_INFO);
script_tag(name:"qod_type", value:"registry");
script_family("General");
script_name("Vim Shell Command Injection Vulnerability (Windows)");
script_xref(name : "URL" , value : "http://secunia.com/advisories/30731/");
script_xref(name : "URL" , value : "http://www.rdancer.org/vulnerablevim-shellescape.html");
script_dependencies("secpod_reg_enum.nasl");
script_require_ports(139, 445);
script_mandatory_keys("SMB/WindowsVersion");
script_tag(name : "impact" , value : tag_impact);
script_tag(name : "affected" , value : tag_affected);
script_tag(name : "insight" , value : tag_insight);
script_tag(name : "solution" , value : tag_solution);
script_tag(name : "summary" , value : tag_summary);
exit(0);
}
include("smb_nt.inc");
include("secpod_smb_func.inc");
if(!get_kb_item("SMB/WindowsVersion")){
exit(0);
}
key = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\";
if(!registry_key_exists(key:key)) {
exit(0);
}
entries = registry_enum_keys(key:key);
if(entries == NULL){
exit(0);
}
foreach item (entries)
{
ver = registry_get_sz(key:key + item, item:"DisplayName");
if("Vim" >< ver)
{
#Grep or versions Vim version prior to 7.2
if(egrep(pattern:"Vim ([0-6](\..*)?|7\.[01](\..*)?)", string:ver)){
security_message(0);
}
}
}
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation