National Cyber Awareness System
Vulnerability Summary for CVE-2007-2438
Original release date:05/02/2007
Last revised:10/31/2012
Source:
US-CERT/NIST
Overview
The sandbox for vim allows dangerous functions such as (1) writefile, (2) feedkeys, and (3) system, which might allow user-assisted attackers to execute shell commands and write files via modelines.
Impact
CVSS Severity (version 2.0):
Impact Subscore:
10.0
Exploitability Subscore:
4.9
CVSS Version 2 Metrics:
Access Vector: Network exploitable; Victim must voluntarily interact with attack mechanism
Access Complexity: High
Authentication: Not required to exploit
Impact Type:Provides administrator access, Allows complete confidentiality, integrity, and availability violation; Allows unauthorized disclosure of information; Allows disruption of service
Successful exploitation requires that the "modelines" option is enabled and the user is tricked into opening a malicious file.
Solution
The vendor has addressed this issue with the following patches:
VIM Development Group VIM 7.0-
VIM Development Group patch 7.0.234
ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.234
VIM Development Group patch 7.0.235
ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.235
}
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.
External Source: CONFIRM
Name: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=238259
External Source: VUPEN
Name: ADV-2007-1599
External Source: TRUSTIX
Name: 2007-0017
External Source: SECTRACK
Name: 1018035
External Source: BID
Name: 23725
External Source: BUGTRAQ
Name: 20070430 FLEA-2007-0014-1: vim
External Source: REDHAT
Name: RHSA-2007:0346
External Source: MISC
Name: http://tech.groups.yahoo.com/group/vimdev/message/46658
External Source: CONFIRM
Name: http://tech.groups.yahoo.com/group/vimdev/message/46645
External Source: MISC
Name: http://tech.groups.yahoo.com/group/vimdev/message/46627
External Source: SECUNIA
Name: 25255
Type: Advisory
External Source: SECUNIA
Name: 25182
Type: Advisory
External Source: SECUNIA
Name: 25159
Type: Advisory
External Source: SECUNIA
Name: 25024
Type: Advisory
External Source: OVAL
Name: oval:org.mitre.oval:def:9876
External Source: OSVDB
Name: 36250
External Source: MLIST
Name: [vim-dev] 20070428 Re: feedkeys() allowed in sandbox
External Source: MLIST
Name: [vim-dev] 20070426 feedkeys() allowed in sandbox
External Source: XF
Name: vim-feedkeyswritefile-command-execution(34012)
External Source: CONFIRM
Name: http://www.vim.org/news/news.php
External Source: UBUNTU
Name: USN-463-1
External Source: SUSE
Name: SUSE-SR:2007:012
External Source: MANDRIVA
Name: MDKSA-2007:101
External Source: DEBIAN
Name: DSA-1364
External Source: VIM
Name: 20070823 vim editor duplicates / clarifications
External Source: MLIST
Name: [vimannounce] 20070512 Stable Vim version 7.1 has been released
External Source: SECUNIA
Name: 26653
External Source: SECUNIA
Name: 25432
External Source: SECUNIA
Name: 25367
External Source: VIM
Name: 20070513 OMG VIM VULN
References to Check Content
Identifier:oval:org.mitre.oval:def:9876
Check System:http://oval.mitre.org/XMLSchema/oval-definitions-5